leaderboardsRequestUploadScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
m (Some wiki formatting)
Line 6: Line 6:
|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.
|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.
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]]


|p2= score: [[Number]] -
|p2= score: [[Number]]


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


|r1= [[Boolean]]
|r1= [[Boolean]]
Line 23: Line 22:
|seealso= [[leaderboardRequestRowsGlobal]]
|seealso= [[leaderboardRequestRowsGlobal]]
}}
}}
<!-- huh?
-->

Revision as of 16:19, 23 December 2022

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