leaderboardInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Appropriate categories go here -->" to "")
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


|arma3
|game1= arma3
|version1= 1.56


|1.56
|gr1= Leaderboards


|gr1 = LeaderBoards
|descr= Initialize the leaderboard structure for board with given name. Returns true if board is already initialized.


|arg=
|s1= [[leaderboardInit]] boardName


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


| Initialize the leaderboard structure for board with given name. Returns true if board is already initialized.
|r1= [[Boolean]]


| [[leaderboardInit]] boardName
|x1= <code>[[leaderboardInit]] "TT01"</code>
 
|p1=  boardName: [[String]]
 
| [[Boolean]]
 
 
 
|x1= <code>[[leaderboardInit]] "TT01"</code>


|x2=
|x2=
Line 39: Line 32:
|x9=
|x9=


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


|seealso= [[leaderboardDeInit]],[[leaderboardGetRows]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|User Name]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 23:17, 19 June 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