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

Flags

Allow Negative : [1]

If enabled, the game_score is able to make scores negative.

Team Points : [2]

If enabled, the entity will affect the activating player's whole team.