highscore_value


描述

With this function you can retrieve the score value that has been stored in the high score list at the given position. If no score has been entered, the function will return 0.


语法:

highscore_value(place);

参数 描述
place The place on the table (1-10).


Returns:

N/A(无返回值)


例如:

var i = 9;
repeat(10)
    {
    scr[i] = highscore_value(i + 1);
    i -= 1;
    }

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


© Copyright YoYo Games Ltd. 2018 All Rights Reserved