leaderboardsRequestUploadScoreKeepBest: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 6: | Line 6: | ||
|gr1= Leaderboards | |gr1= Leaderboards | ||
|descr= Starts async. operation to upload score to board with given name, value is only stored to board if it is better than one already in the board | |descr= Starts async. operation to upload score to board with given name, value is only stored to board if it is better than one already in the board. The board has to be initialised before the call. | ||
|s1= [[leaderboardsRequestUploadScoreKeepBest]] [boardName, score, details] | |s1= [[leaderboardsRequestUploadScoreKeepBest]] [boardName, score, details] | ||
Line 14: | Line 14: | ||
|p2= score: [[Number]] | |p2= score: [[Number]] | ||
|p3= details: [[Array]] | |p3= details: [[Array]] of [[Number]]s (Optional) | ||
|r1= [[Boolean]] | |r1= [[Boolean]] |
Revision as of 16:20, 23 December 2022
Description
- Description:
- Starts async. operation to upload score to board with given name, value is only stored to board if it is better than one already in the board. The board has to be initialised before the call.
- Groups:
- Leaderboards
Syntax
- Syntax:
- leaderboardsRequestUploadScoreKeepBest [boardName, score, details]
- Parameters:
- boardname: String
- score: Number
- details: Array of Numbers (Optional)
- Return Value:
- Boolean
Examples
- Example 1:
- leaderboardsRequestUploadScoreKeepBest ["TT01", 1234, [5,6,7,8]];
Additional Information
- See also:
- 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