leaderboardState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "" to "") |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|version1= 1.42 | |||
|1.42 | |||
|gr1= Leaderboards | |gr1= Leaderboards | ||
| | |descr= Returns the state of the board with the given name. | ||
|s1= | |s1= [[leaderboardState]] boardname | ||
|p1= boardname: [[String]] | |p1= boardname: [[String]] | ||
|r1= [[Number]] | |r1= [[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) | |||
|x1= < | |x1= <sqf>leaderboardState "TT01";</sqf> | ||
| [[leaderboardsRequestUploadScoreKeepBest]] leaderboardsRequestUploadScore | |seealso= [[leaderboardsRequestUploadScoreKeepBest]] [[leaderboardsRequestUploadScore]] | ||
}} | }} | ||
Latest revision as of 11:54, 26 April 2023
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
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