leaderboardsRequestUploadScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
mNo edit summary
 
(22 intermediate revisions by 3 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 always overwrite the current value in the board. The board has to be initialized before the call.
____________________________________________________________________________________________


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


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


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


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


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


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


 
|seealso= [[leaderboardRequestRowsGlobal]]
|x1= <code>[[leaderboardsRequestUploadScore]] ["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>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 05: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 always overwrite the current value in the board. 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:
leaderboardRequestRowsGlobal

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