leaderboardGetRows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
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 02:57, 17 January 2021

Hover & click on the images for description

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

Bottom Section