Arma 3 Scripting

Command in Multiplayer

addScore

Also available as Markdown and JSON, or read the original wiki page.

Description

Adds a number to the score of a unit. Negative values will remove from the score.

Syntax

unit addScore score

Parameters:

Returns: Nothing

Examples

Example 1

unit addScore 10;

Example 2

unit addScore -1337; // reduce the unit's score by 1337 points

Multiplayer

Server execution only

See also

score · scoreSide · addScoreSide · getPlayerScores · Arma 3: Event Handlers