scoreSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma2oa |Game name=
| arma2oa |Game name=
Line 9: Line 8:


|gr2 = Sides |GROUP2=
|gr2 = Sides |GROUP2=
____________________________________________________________________________________________


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


| '''scoreSide''' side |SYNTAX=
| '''scoreSide''' side |SYNTAX=
Line 19: Line 16:


| [[Number]] |RETURNVALUE=
| [[Number]] |RETURNVALUE=
____________________________________________________________________________________________


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


| [[score]], [[addScore]], [[addScoreSide]], [[getPlayerScores]] |SEEALSO=
| [[score]], [[addScore]], [[addScoreSide]], [[getPlayerScores]] |SEEALSO=

Revision as of 02:13, 17 January 2021

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:
scoreaddScoreaddScoreSidegetPlayerScores

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

Notes

Bottom Section