leaderboardInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1.56)
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= ")
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Command|=
{{RV|type=command
____________________________________________________________________________________________


|arma3|= Game name
|game1= arma3
|version1= 1.56


|1.56|= Game version
|gr1= Leaderboards


|arg= |= Multiplayer Arguments
|descr= Initialize the leaderboard structure for board with given name. Returns true if board is already initialized.


|eff= |= Multiplayer Effects
|s1= [[leaderboardInit]] boardName
____________________________________________________________________________________________


| Initialize the leaderboard structure for board with given name. Returns true if board is already initialized. |= Description
|p1= boardName: [[String]]
____________________________________________________________________________________________


| [[leaderboardInit]] boardName |= Syntax
|r1= [[Boolean]]


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


| [[Boolean]] |= Return Value
|x2=


|x3=


____________________________________________________________________________________________
|x4=


|x1= <code>[[leaderboardInit]] "TT01"</code>|= Example 1
|x5=
____________________________________________________________________________________________


|x2= |= Example 2
|x6=
____________________________________________________________________________________________


|x3= |= Example 3
|x7=
____________________________________________________________________________________________


|x4= |= Example 4
|x8=
____________________________________________________________________________________________


|x5= |= Example 5
|x9=
____________________________________________________________________________________________


|x6=  |= Example 6
|x10=
____________________________________________________________________________________________
 
|x7=  |= Example 7
____________________________________________________________________________________________
 
|x8=  |= Example 8
____________________________________________________________________________________________
 
|x9=  |= Example 9
____________________________________________________________________________________________
 
|x10= |= Example 10
____________________________________________________________________________________________
 
|mp= - |= Multiplayer Behaviour
 
|  [[leaderboardDeInit]],[[leaderboardGetRows]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |= See Also


|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>
[[Category:Command_Group:_LeaderBoards|{{uc:{{PAGENAME}}}}]]
<h3 style="display:none">Bottom Section</h3>
<!-- Appropriate categories go here -->
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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