leaderboardsRequestUploadScoreKeepBest: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game version" to "|Game version=") |
Lou Montana (talk | contribs) m (Text replacement - "\] +\[" to "] [") |
||
(29 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 |= | |game1= arma3 | ||
|version1= 1.42 | |||
| | |gr1= Leaderboards | ||
| Starts async. operation to upload score to board with given name, value is only stored to board if it | |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] | ||
|p1= | |p1= boardName: [[String]] | ||
|p2= score: [[Number]] | |p2= score: [[Number]] | ||
|p3= details: [[Array]] ( | |p3= details: [[Array]] of [[Number]]s (Optional) | ||
| [[Boolean]] | |r1= [[Boolean]] | ||
|x1= <sqf>leaderboardsRequestUploadScoreKeepBest ["TT01", 1234, [5,6,7,8]];</sqf> | |||
| | |seealso= [[leaderboardsRequestUploadScore]] | ||
}} | }} | ||
Latest revision as of 11:46, 5 May 2024
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