addScore: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality, seealso)
(note removed as it is now covered in description)
Line 34: Line 34:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
This command works only on server (dedicated or hosted) and has global effect, when used on client it has no effect in ArmA 2 (ver. 1.2).
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 19:48, 5 September 2014

Hover & click on the images for description

Description

Description:
Add a number to the score of a unit. This score is shown in multiplayer in the "I" ("P" in Arma 3) screen. Negative values will remove from the score. Server execution only.
Multiplayer:
Server execution only
Groups:
Uncategorised

Syntax

Syntax:
unit addScore score
Parameters:
unit: Object
score: Number
Return Value:
Nothing

Examples

Example 1:
unit addScore 10;

Additional Information

See also:
scoreaddScoreSidescoreSide

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

Notes

Bottom Section