leaderboardGetRows: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1 = LeaderBoards |GROUP1=
|gr1 = LeaderBoards


|arg=  |Multiplayer Arguments=
|arg=


|eff=  |Multiplayer Effects=
|eff=


| 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!


| [[leaderboardGetRows]] boardName |SYNTAX=
| [[leaderboardGetRows]] boardName


|p1=  boardName: [[String]]|PARAMETER1=
|p1=  boardName: [[String]]


| [[Array]] |RETURNVALUE=
| [[Array]]






|x1=  <code>[[leaderboardGetRows]] "TT01"</code>|EXAMPLE1=
|x1=  <code>[[leaderboardGetRows]] "TT01"</code>


|x2=  |EXAMPLE2=
|x2=


|x3=  |EXAMPLE3=
|x3=


|x4=  |EXAMPLE4=
|x4=


|x5=  |EXAMPLE5=
|x5=


|x6=  |EXAMPLE6=
|x6=


|x7=  |EXAMPLE7=
|x7=


|x8=  |EXAMPLE8=
|x8=


|x9=  |EXAMPLE9=
|x9=


|x10=  |EXAMPLE10=
|x10=  |EXAMPLE10=


| [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |SEEALSO=
| [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]]


}}
}}

Revision as of 02:06, 18 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