leaderboardInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|[ _]?New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|arma3|Game name=
|arma3|Game name=
Line 11: Line 10:


|eff=  |Multiplayer Effects=
|eff=  |Multiplayer Effects=
____________________________________________________________________________________________


| Initialize the leaderboard structure for board with given name. Returns true if board is already initialized. |DESCRIPTION=
| Initialize the leaderboard structure for board with given name. Returns true if board is already initialized. |DESCRIPTION=
____________________________________________________________________________________________


| [[leaderboardInit]] boardName |SYNTAX=
| [[leaderboardInit]] boardName |SYNTAX=
Line 23: Line 20:




____________________________________________________________________________________________


|x1=  <code>[[leaderboardInit]] "TT01"</code>|EXAMPLE1=
|x1=  <code>[[leaderboardInit]] "TT01"</code>|EXAMPLE1=
____________________________________________________________________________________________


|x2=  |EXAMPLE2=
|x2=  |EXAMPLE2=
____________________________________________________________________________________________


|x3=  |EXAMPLE3=
|x3=  |EXAMPLE3=
____________________________________________________________________________________________


|x4=  |EXAMPLE4=
|x4=  |EXAMPLE4=
____________________________________________________________________________________________


|x5=  |EXAMPLE5=
|x5=  |EXAMPLE5=
____________________________________________________________________________________________


|x6=  |EXAMPLE6=
|x6=  |EXAMPLE6=
____________________________________________________________________________________________


|x7=  |EXAMPLE7=
|x7=  |EXAMPLE7=
____________________________________________________________________________________________


|x8=  |EXAMPLE8=
|x8=  |EXAMPLE8=
____________________________________________________________________________________________


|x9=  |EXAMPLE9=
|x9=  |EXAMPLE9=
____________________________________________________________________________________________


|x10=  |EXAMPLE10=
|x10=  |EXAMPLE10=
____________________________________________________________________________________________


|  [[leaderboardDeInit]],[[leaderboardGetRows]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |SEEALSO=
|  [[leaderboardDeInit]],[[leaderboardGetRows]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |SEEALSO=

Revision as of 02:54, 17 January 2021

Hover & click on the images for description

Description

Description:
Initialize the leaderboard structure for board with given name. Returns true if board is already initialized.
Groups:
LeaderBoards

Syntax

Syntax:
leaderboardInit boardName
Parameters:
boardName: String
Return Value:
Boolean

Examples

Example 1:
leaderboardInit "TT01"

Additional Information

See also:
leaderboardDeInitleaderboardGetRowsleaderboardRequestRowsFriendsleaderboardRequestRowsGloballeaderboardRequestRowsGlobalAroundUserleaderboardsRequestUploadScoreleaderboardsRequestUploadScoreKeepBestleaderboardState

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


Bottom Section