leaderboardsRequestUploadScoreKeepBest: Difference between revisions

From Bohemia Interactive Community
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]] -  |= PARAMETER1
|p1= boardname: [[String]] -  |PARAMETER1=  


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


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


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




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


____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= SEEALSO
|  |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:34, 7 April 2019

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

Notes

Bottom Section