addScoreSide: Difference between revisions

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


| arma3 |Game name=
|game1= arma3
|version1= 1.12


|1.12|Game version=
|arg= global


|arg= global |Multiplayer Arguments=
|eff= global


|eff= global |Multiplayer Effects=
|serverExec= server


|serverExec= server |Server Execution=
|gr1= Sides


|gr1= Sides |GROUP1=
|gr2= Multiplayer


|gr2= Multiplayer |GROUP2=
|descr= Adds side score. This is shown in the MP score tab as the total score. '''MP only'''.


| Adds side score. This is shown in the MP score tab as the total score. MP Only. Server execution only. |DESCRIPTION=
|s1= side [[addScoreSide]] value


| side '''addScoreSide''' value |SYNTAX=
|p1= side: [[Side]]


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


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


| [[Nothing]] |RETURNVALUE=  
|x1= <sqf>west addScoreSide 10;</sqf>


 
|seealso= [[score]] [[addScore]] [[scoreSide]] [[getPlayerScores]]
|x1= <code>[[west]] [[addScoreSide]] 10;</code>|EXAMPLE1=
 
 
| [[score]], [[addScore]], [[scoreSide]], [[getPlayerScores]] |SEEALSO=
 
| mp= Server execution only |MPBEHAVIOUR=
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma3|New Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 11: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