game_counter_set

From Valve Developer Community
Revision as of 08:33, 13 February 2024 by N0one (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

game_counter_set is an e0 available in all Template:1 games.Template:1 topicon

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{1}} template.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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.