leaderboardsRequestUploadScore: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1= LeaderBoards |GROUP1= | |gr1= LeaderBoards |GROUP1= | ||
| Starts async. operation to upload score to board with given name, value always overwrite the current value in the board. The details array is optional. The board has to be initialized before the call. |DESCRIPTION= | | Starts async. operation to upload score to board with given name, value always overwrite the current value in the board. The details array is optional. The board has to be initialized before the call. |DESCRIPTION= | ||
| '''leaderboardsRequestUploadScore''' [boardName, score, [details]] |SYNTAX= | | '''leaderboardsRequestUploadScore''' [boardName, score, [details]] |SYNTAX= | ||
Line 25: | Line 22: | ||
|x1= <code>[[leaderboardsRequestUploadScore]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1= | |x1= <code>[[leaderboardsRequestUploadScore]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1= | ||
| |SEEALSO= | | |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 01:56, 17 January 2021
Description
- Description:
- Starts async. operation to upload score to board with given name, value always overwrite the current value in the board. The details array is optional. The board has to be initialized before the call.
- Groups:
- LeaderBoards
Syntax
- Syntax:
- leaderboardsRequestUploadScore [boardName, score, [details]]
- Parameters:
- boardname: String -
- score: Number -
- details: Array (optional) -
- Return Value:
- Boolean
Examples
- Example 1:
leaderboardsRequestUploadScore ["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