leaderboardsRequestUploadScoreKeepBest: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>") |
||
Line 18: | Line 18: | ||
|r1= [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <sqf>leaderboardsRequestUploadScoreKeepBest ["TT01", 1234, [5,6,7,8]]</sqf> | |x1= <sqf>leaderboardsRequestUploadScoreKeepBest ["TT01", 1234, [5,6,7,8]];</sqf> | ||
|seealso= [[leaderboardsRequestUploadScore]] | |seealso= [[leaderboardsRequestUploadScore]] | ||
}} | }} |
Revision as of 22:43, 28 June 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 details array is optional. The board has to be initialized before the call.
- Groups:
- Leaderboards
Syntax
- Syntax:
- leaderboardsRequestUploadScoreKeepBest [boardName, score, details]
- Parameters:
- boardname: String
- score: Number
- details: Array (optional) - Array of numbers
- 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