leaderboardsRequestUploadScoreKeepBest: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.42


|1.42|Game version=
|gr1= Leaderboards


|gr1= Leaderboards |GROUP1=
|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.
____________________________________________________________________________________________


| 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=
|s1= [[leaderboardsRequestUploadScoreKeepBest]]  [boardName, score, details]
____________________________________________________________________________________________


| '''leaderboardsRequestUploadScoreKeepBest''' [boardName, score, [details]] |SYNTAX=
|p1= boardName: [[String]]


|p1= boardname: [[String]] -  |PARAMETER1=
|p2= score: [[Number]]


|p2= score: [[Number]] -  |PARAMETER2=
|p3= details: [[Array]] of [[Number]]s (Optional)


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


| [[Boolean]] |RETURNVALUE=
|x1= <sqf>leaderboardsRequestUploadScoreKeepBest ["TT01", 1234, [5,6,7,8]];</sqf>


 
|seealso= [[leaderboardsRequestUploadScore]]
|x1= <code>[[leaderboardsRequestUploadScoreKeepBest]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1=
 
____________________________________________________________________________________________
 
|  |SEEALSO=
 
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 06:56, 27 November 2023

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