highscore_name

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

Syntax:

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:

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.


Back: High Scores
Next: highscore_value
© Copyright YoYo Games Ltd. 2018 All Rights Reserved