leaderboardsRequestUploadScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
mNo edit summary
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma3
|game1= arma3
|version1= 1.42


|1.42
|gr1= Leaderboards


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


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


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


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


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


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


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