addScoreSide: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.12|= Game version _________________...")
 
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
 
(38 intermediate revisions by 6 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
____________________________________________________________________________________________


| MP Only: adds side score. This is shown in the MP score tab as the total score. |= Description
|eff= global
____________________________________________________________________________________________


| side '''addScoreSide''' value |= Syntax
|serverExec= server


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


| [[Nothing]] |= RETURNVALUE
|gr2= Multiplayer


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


|x1= <code>west addScore 10;</code>|= EXAMPLE1
|s1= side [[addScoreSide]] value


____________________________________________________________________________________________
|p1= side: [[Side]]


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


| |= MPBEHAVIOUR
|r1= [[Nothing]]
____________________________________________________________________________________________
}}


<h3 style='display:none'>Notes</h3>
|x1= <sqf>west addScoreSide 10;</sqf>
<dl class='command_description'>
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|seealso= [[score]] [[addScore]] [[scoreSide]] [[getPlayerScores]]
</dl>
}}
 
<h3 style='display:none'>Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[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