leaderboardsRequestUploadScoreKeepBest: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\] +\[" to "] [")
 
Line 8: Line 8:
|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.
|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]
|s1= [[leaderboardsRequestUploadScoreKeepBest]] [boardName, score, details]


|p1= boardName: [[String]]
|p1= boardName: [[String]]

Latest revision as of 11:46, 5 May 2024

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