addScoreSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
m (Some wiki formatting)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3


|1.12
|version1= 1.12


|arg= global
|arg= global
Line 15: Line 15:
|gr2= Multiplayer
|gr2= Multiplayer


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


| side '''addScoreSide''' value
|s1= side [[addScoreSide]] value


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


|p2= value: [[Number]]
|p2= value: [[Number]]


|r1= [[Nothing]]
|r1= [[Nothing]]
Line 27: Line 27:
|x1= <code>[[west]] [[addScoreSide]] 10;</code>
|x1= <code>[[west]] [[addScoreSide]] 10;</code>


| [[score]], [[addScore]], [[scoreSide]], [[getPlayerScores]]
|seealso= [[score]], [[addScore]], [[scoreSide]], [[getPlayerScores]]
 
|mp= Server execution only
}}
}}

Revision as of 09:53, 11 June 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.
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