addScoreSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|game([0-9])= *([^ ]+) * +\|version([0-9])= *([^ ]+) * " to "|game$1=$2 |version$3=$4 ")
m (Text replacement - "\|seealso= ?\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 26: Line 26:
|x1= <code>[[west]] [[addScoreSide]] 10;</code>
|x1= <code>[[west]] [[addScoreSide]] 10;</code>


|seealso= [[score]], [[addScore]], [[scoreSide]], [[getPlayerScores]]
|seealso= [[score]] [[addScore]], [[scoreSide]], [[getPlayerScores]]
}}
}}

Revision as of 12:56, 20 January 2022

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:
score addScorescoreSidegetPlayerScores

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