GameMaker Touhou Engine   Home   Downloads   Documentation

_UPDATE_RESULTS()


A script that inserts a given score into the leaderboard.


Returns: Void


Syntax:


_UPDATE_RESULTS(ds, name, p_score)

Arguments:


Name Value Significance
ds <ds_map> The ds_map to write into.
name <string> The name to insert into the leaderboard to associate with the score.
p_score <integer> The score to insert.

Actions: Lower the rank of every score lower than p_score by one. Insert name and p_score into the appropriate position inside the ds map.