leaderboardState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...)
Line 21: Line 21:
| [[leaderboardsRequestUploadScoreKeepBest]] leaderboardsRequestUploadScore
| [[leaderboardsRequestUploadScoreKeepBest]] leaderboardsRequestUploadScore


| |MPBEHAVIOUR=
|
}}
}}



Revision as of 11:51, 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