highscore_name

Returns the name string stored at the given place in the highscore table.

Syntax:

GML Code Example

highscore_name(place);


Argument Description
place The place on the table (1-10).


Returns: String


Description

With this function you can retrieve the name string that has been stored in the high score list at the given position. If no name has been entered, the string "Unknown" will be returned.


Example:

GML Code Example

var i;
 i = 10;
 repeat(10)
    {
    name[i] = highscore_name(i);
    i -= 1;
    }
 

The above code will loop through the high score list and store all the names in an array.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here