leaderboardsRequestUploadScoreKeepBest: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.42|= Game version _________________...") |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| '''leaderboardsRequestUploadScoreKeepBest''' [boardName, score, [details]] |= Syntax | | '''leaderboardsRequestUploadScoreKeepBest''' [boardName, score, [details]] |= Syntax | ||
|p1= boardname: [[String]] - |= | |p1= boardname: [[String]] - |PARAMETER1= | ||
|p2= score: [[Number]] - |= | |p2= score: [[Number]] - |PARAMETER2= | ||
|p3= details: [[Array]] (optional) - |= | |p3= details: [[Array]] (optional) - |PARAMETER3= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
|x1= <code>[[leaderboardsRequestUploadScoreKeepBest]] ["TT01", 1234, [5,6,7,8]]</code>|= | |x1= <code>[[leaderboardsRequestUploadScoreKeepBest]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:34, 7 April 2019
Description
- Description:
- Starts async. operation to upload score to board with given name, value is only stored to board if it's better than one already in the board. The details array is optional. The board has to be initialized before the call.
- Groups:
- Uncategorised
Syntax
- Syntax:
- leaderboardsRequestUploadScoreKeepBest [boardName, score, [details]]
- Parameters:
- boardname: String -
- score: Number -
- details: Array (optional) -
- Return Value:
- Boolean
Examples
- Example 1:
leaderboardsRequestUploadScoreKeepBest ["TT01", 1234, [5,6,7,8]]
Additional Information
- See also:
- See also needed
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