leaderboardState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 7: Line 6:


|gr1= LeaderBoards |GROUP1=
|gr1= LeaderBoards |GROUP1=
____________________________________________________________________________________________


| 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.). |DESCRIPTION=
____________________________________________________________________________________________


| '''leaderboardState''' boardname |SYNTAX=
| '''leaderboardState''' boardname |SYNTAX=
Line 21: Line 18:
|x1= <code>[[leaderboardState]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1=  
|x1= <code>[[leaderboardState]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1=  


____________________________________________________________________________________________


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


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 02:54, 17 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