leaderboardsRequestUploadScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "")
mNo edit summary
 
(29 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
____________________________________________________________________________________________


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


| '''leaderboardsRequestUploadScore''' [boardName, score, [details]] |SYNTAX=
|s1= [[leaderboardsRequestUploadScore]] [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=
|r1= [[Boolean]]


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


|x1= <code>[[leaderboardsRequestUploadScore]] ["TT01", 1234, [5,6,7,8]]</code>|EXAMPLE1=
|seealso= [[leaderboardRequestRowsGlobal]]
 
____________________________________________________________________________________________
 
|  |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 ArmA2|{{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 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