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

game_counter_set

From Valve Developer Community
Revision as of 21:09, 17 May 2024 by PeeBot (talk | contribs) (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.
Master (master) <targetname>
Name of a master entity. If the master hasn't been activated, this entity will not activate.
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.