leaderboardState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " 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.42|Game version=
|1.42


|gr1= LeaderBoards |GROUP1=
|gr1= LeaderBoards


| returns state of the board with given name. 0: Busy (async. operation in progress); 1: Async. operation ended with success; 2: Async. operation ended with error; 3: Invalid board (bad board name, not initialized etc.). |DESCRIPTION=
| returns state of the board with given name. 0: Busy (async. operation in progress); 1: Async. operation ended with success; 2: Async. operation ended with error; 3: Invalid board (bad board name, not initialized etc.).


| '''leaderboardState''' boardname |SYNTAX=
| '''leaderboardState''' boardname


|p1= boardname: [[String]] - |PARAMETER1=
|p1= boardname: [[String]] -


| [[Number]] |RETURNVALUE=
| [[Number]]




|x1= <code>[[leaderboardState]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1=
|x1= <code>[[leaderboardState]] ["TT01", 1234, [5,6,7,8]]</code>




| [[leaderboardsRequestUploadScoreKeepBest]] leaderboardsRequestUploadScore |SEEALSO=
| [[leaderboardsRequestUploadScoreKeepBest]] leaderboardsRequestUploadScore


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:59, 18 January 2021

Hover & click on the images for description

Description

Description:
returns state of the board with given name. 0: Busy (async. operation in progress); 1: Async. operation ended with success; 2: Async. operation ended with error; 3: Invalid board (bad board name, not initialized etc.).
Groups:
LeaderBoards

Syntax

Syntax:
leaderboardState boardname
Parameters:
boardname: String -
Return Value:
Number

Examples

Example 1:
leaderboardState ["TT01", 1234, [5,6,7,8]]

Additional Information

See also:
leaderboardsRequestUploadScoreKeepBest leaderboardsRequestUploadScore

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

Notes

Bottom Section