Support NATA 2014

Browse Sections


Newgrounds Wiki: loadScores

Usage

import com.newgrounds.API;
API.loadScores(board_name:String, period:String, tag:String);
  • board_name - The name of the scoreboard you are posting to.
  • period - The time period to look up. This should be a ScoreBoardPeriod constant.
  • tag - Optional. Only scores with this tag will be returned.

This command will load the top 10 scores for the requested scoreboard/period/tag combination.

This command will trigger a SCORES_LOADED event.