scoreSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Some wiki formatting)
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2oa |= Game name
|game1= arma2oa
|version1= 1.50


|1.51|= Game version
|game2= tkoh
____________________________________________________________________________________________
|version2= 1.00


| Returns score for the given [[Side|side]]. MP Only. |DESCRIPTION=
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| '''scoreSide''' side |SYNTAX=
|gr1= Multiplayer


|p1= side: [[Side]] |=  
|gr2= Sides


| [[Number]] |RETURNVALUE=
|descr= Returns score for the given [[Side|side]]. MP Only.
____________________________________________________________________________________________


|x1= <code>_number <nowiki>=</nowiki> [[scoreSide]] [[west]]; </code> |=
|s1= [[scoreSide]] side
____________________________________________________________________________________________


| [[score]], [[addScore]], [[addScoreSide]], [[getPlayerScores]] |SEEALSO=
|p1= side: [[Side]]
}}


<h3 style="display:none">Notes</h3>
|r1= [[Number]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>_number = scoreSide west;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[score]] [[addScore]] [[addScoreSide]] [[getPlayerScores]]
 
}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2 OA: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]]

Latest revision as of 12:05, 13 May 2022

Hover & click on the images for description

Description

Description:
Returns score for the given side. MP Only.
Groups:
MultiplayerSides

Syntax

Syntax:
scoreSide side
Parameters:
side: Side
Return Value:
Number

Examples

Example 1:
_number = scoreSide west;

Additional Information

See also:
score addScore addScoreSide getPlayerScores

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