scoreSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(formatting, added see also)
m (Some wiki formatting)
 
(42 intermediate revisions by 5 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 a given [[Side|side]]. |= Description
|game3= arma3
____________________________________________________________________________________________
|version3= 0.50


| '''scoreSide''' [[side]] |= Syntax
|gr1= Multiplayer


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


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


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


| [[addScoreSide]], [[addScore]], [[score]] |= See also
|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