This article's documentation is for the "GoldSrc" engine. Click here for more information.

game_score

From Valve Developer Community
Jump to: navigation, search

game_score is a point entity available in all GoldSrc GoldSrc games. This entity gives or takes points from a player or their team.

Key Values


Targetname:
Name (targetname) <targetname>
The targetname that other entities refer to this entity by.
Master (master) <string>
Name of a master entity.
Points to add (+/-) (points) <integer>
Sets the number of points to be given or taken.

Flags

  •  [1] : Allow Negative
       If enabled, the game_score is able to make scores negative.
  •  [2] : Team Points
       If enabled, the entity will affect the activating player's whole team.