leaderboardState: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "‎" to "")
 
Line 20: Line 20:
|x1= <sqf>leaderboardState "TT01";</sqf>
|x1= <sqf>leaderboardState "TT01";</sqf>


|seealso= [[leaderboardsRequestUploadScoreKeepBest]] [[leaderboardsRequestUploadScore]]
|seealso= [[leaderboardsRequestUploadScoreKeepBest]] [[leaderboardsRequestUploadScore]]
}}
}}

Latest revision as of 11:54, 26 April 2023

Hover & click on the images for description

Description

Description:
Returns the state of the board with the given name.
Groups:
Leaderboards

Syntax

Syntax:
leaderboardState boardname
Parameters:
boardname: String
Return Value:
Number
  • 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 initialised etc)

Examples

Example 1:
leaderboardState "TT01";

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