Skip to content

set_score

Description

Modifies a player or team score using a math operation, a numeric value or variable reference, and a team or player target.

Parameters

<math_operation> <value> <team_or_player_target

  • <name> — required operand
  • {a|b|c} — choose one alternative
  • [ … ] — optional clause

Example

megalo
action set_score add 1 team attackers

Example from HREK broken/1Flag_Boneyard_Chunks.txt.

Supported Versions

VersionSupported
49Yes
73Yes
106Yes
107Yes
107 (MCC)Yes

See also action syntax.