leaderboardInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|arma3|Game name=
|arma3


|1.56|Game version=
|1.56


|gr1 = LeaderBoards |GROUP1=
|gr1 = LeaderBoards


|arg=  |Multiplayer Arguments=
|arg=


|eff=  |Multiplayer Effects=
|eff=


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


| [[leaderboardInit]] boardName |SYNTAX=
| [[leaderboardInit]] boardName


|p1=  boardName: [[String]]|PARAMETER1=
|p1=  boardName: [[String]]


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]






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


|x2=  |EXAMPLE2=
|x2=


|x3=  |EXAMPLE3=
|x3=


|x4=  |EXAMPLE4=
|x4=


|x5=  |EXAMPLE5=
|x5=


|x6=  |EXAMPLE6=
|x6=


|x7=  |EXAMPLE7=
|x7=


|x8=  |EXAMPLE8=
|x8=


|x9=  |EXAMPLE9=
|x9=


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


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


}}
}}

Revision as of 02:00, 18 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