leaderboardsRequestUploadScoreKeepBest: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.42|Game version=
|1.42


|gr1= LeaderBoards |GROUP1=
|gr1= LeaderBoards


| 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. |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.


| '''leaderboardsRequestUploadScoreKeepBest''' [boardName, score, [details]] |SYNTAX=
| '''leaderboardsRequestUploadScoreKeepBest''' [boardName, score, [details]]


|p1= boardname: [[String]] - |PARAMETER1=
|p1= boardname: [[String]] -


|p2= score: [[Number]] - |PARAMETER2=
|p2= score: [[Number]] -


|p3= details: [[Array]] (optional) - |PARAMETER3=
|p3= details: [[Array]] (optional) -


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]




|x1= <code>[[leaderboardsRequestUploadScoreKeepBest]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1=
|x1= <code>[[leaderboardsRequestUploadScoreKeepBest]] ["TT01", 1234, [5,6,7,8]]</code>




| |SEEALSO=
|


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=  

Revision as of 01:01, 18 January 2021

Hover & click on the images for description

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) -
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

Notes

Bottom Section