addScoreSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 15: Line 14:


|gr2= Multiplayer |GROUP2=
|gr2= Multiplayer |GROUP2=
____________________________________________________________________________________________


| Adds side score. This is shown in the MP score tab as the total score. MP Only. Server execution only. |DESCRIPTION=
| Adds side score. This is shown in the MP score tab as the total score. MP Only. Server execution only. |DESCRIPTION=
____________________________________________________________________________________________


| side '''addScoreSide''' value |SYNTAX=
| side '''addScoreSide''' value |SYNTAX=
Line 31: Line 28:
|x1= <code>[[west]] [[addScoreSide]] 10;</code>|EXAMPLE1=  
|x1= <code>[[west]] [[addScoreSide]] 10;</code>|EXAMPLE1=  


____________________________________________________________________________________________


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


| mp= Server execution only |MPBEHAVIOUR=  
| mp= Server execution only |MPBEHAVIOUR=  
____________________________________________________________________________________________
}}
}}



Revision as of 01:04, 17 January 2021

Hover & click on the images for description

Description

Description:
Adds side score. This is shown in the MP score tab as the total score. MP Only. Server execution only.
Multiplayer:
Server execution only
Groups:
SidesMultiplayer

Syntax

Syntax:
side addScoreSide value
Parameters:
side: Side
value: Number
Return Value:
Nothing

Examples

Example 1:
west addScoreSide 10;

Additional Information

See also:
scoreaddScorescoreSidegetPlayerScores

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