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

Game counter set (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{This is a|name=game_counter_set|e0|engine=1}} The game_counter_set entity will, when triggered, set the value of a game_counter to a specified val...")
 
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
 
Line 1: Line 1:
{{This is a|name=game_counter_set|e0|engine=1}} The game_counter_set entity will, when triggered, set the value of a [[game_counter (GoldSrc)|game_counter]] to a specified value.
{{this is a|point entity|name=game_counter_set|engine=GoldSrc}} The game_counter_set entity will, when triggered, set the value of a [[game_counter (GoldSrc)|game_counter]] to a specified value.


==Key Values==
==Key Values==

Latest revision as of 21:09, 17 May 2024

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.