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

game_counter_set

From Valve Developer Community
Jump to: navigation, search

game_counter_set is a point entity available in all GoldSrc GoldSrc games. The game_counter_set entity will, when triggered, set the value of a game_counter to a specified value.

Key Values

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Target:
Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.


Master (master) <targetname>
Name of a master entity.
New Value (frags) <integer>
Sets the value that the game_counter should start at.

Flags

Remove On fire : [1]

If enabled, the game_counter_set will be removed once it has triggered its Target.