addScoreSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3
|game1= arma3
 
|version1= 1.12
|1.12


|arg= global
|arg= global
Line 9: Line 8:
|eff= global
|eff= global


|serverExec= server |Server Execution=
|serverExec= server


|gr1= Sides
|gr1= Sides
Line 15: Line 14:
|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


|p1= side: [[Side]]
|s1= side [[addScoreSide]] value


|p2= value: [[Number]]
|p1= side: [[Side]]


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


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


| [[score]], [[addScore]], [[scoreSide]], [[getPlayerScores]]
|x1= <sqf>west addScoreSide 10;</sqf>


| mp= Server execution only
|seealso= [[score]] [[addScore]] [[scoreSide]] [[getPlayerScores]]
}}
}}
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 10:21, 13 May 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 addScore scoreSide 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