leaderboardsRequestUploadScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.42
|1.42


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


|p1= boardname: [[String]] -
|p1= boardname: [[String]] -
Line 20: Line 20:


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


<!-- huh?
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
-->

Revision as of 02:58, 13 June 2021

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 details array is optional. 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