leaderboardGetRows: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
|arma3|Game name= | |arma3|Game name= | ||
Line 11: | Line 10: | ||
|eff= |Multiplayer Effects= | |eff= |Multiplayer Effects= | ||
| Returns an array with values for the given leaderboard, the array is in format: <nowiki>[[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]</nowiki>; This can be called after the one of the row request function has been called and successfully finished! |DESCRIPTION= | | Returns an array with values for the given leaderboard, the array is in format: <nowiki>[[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]</nowiki>; This can be called after the one of the row request function has been called and successfully finished! |DESCRIPTION= | ||
| [[leaderboardGetRows]] boardName |SYNTAX= | | [[leaderboardGetRows]] boardName |SYNTAX= | ||
Line 23: | Line 20: | ||
|x1= <code>[[leaderboardGetRows]] "TT01"</code>|EXAMPLE1= | |x1= <code>[[leaderboardGetRows]] "TT01"</code>|EXAMPLE1= | ||
|x2= |EXAMPLE2= | |x2= |EXAMPLE2= | ||
|x3= |EXAMPLE3= | |x3= |EXAMPLE3= | ||
|x4= |EXAMPLE4= | |x4= |EXAMPLE4= | ||
|x5= |EXAMPLE5= | |x5= |EXAMPLE5= | ||
|x6= |EXAMPLE6= | |x6= |EXAMPLE6= | ||
|x7= |EXAMPLE7= | |x7= |EXAMPLE7= | ||
|x8= |EXAMPLE8= | |x8= |EXAMPLE8= | ||
|x9= |EXAMPLE9= | |x9= |EXAMPLE9= | ||
|x10= |EXAMPLE10= | |x10= |EXAMPLE10= | ||
| [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |SEEALSO= | | [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |SEEALSO= |
Revision as of 01:57, 17 January 2021
Description
- Description:
- Returns an array with values for the given leaderboard, the array is in format: [[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]; This can be called after the one of the row request function has been called and successfully finished!
- Groups:
- LeaderBoards
Syntax
- Syntax:
- leaderboardGetRows boardName
- Parameters:
- boardName: String
- Return Value:
- Array
Examples
- Example 1:
leaderboardGetRows "TT01"
Additional Information
- See also:
- leaderboardDeInitleaderboardInitleaderboardRequestRowsFriendsleaderboardRequestRowsGloballeaderboardRequestRowsGlobalAroundUserleaderboardsRequestUploadScoreleaderboardsRequestUploadScoreKeepBestleaderboardState
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note