Arma 3 Scripting

addScore

  • Global argument
  • Global effect
  • Server only
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · 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