Skip to main content

game_counter_set

game_counter_set icon
Point entity

A game_counter_set sets a game_counter to a new number each time you trigger it. It fires its Target with the use type Set and its New Value, so it can set any entity that takes a number this way, such as a game_number.

Attributes​

KeyDescriptionDefault
Nametargetname

Triggering the entity sets the number. See Common keys.

Targettarget

Names the counter to set.

Mastermaster

Names a master, and while the master is off, triggering the entity does nothing.

New Valuefrags

Sets the number the counter gets.

If you leave this key empty, it is 0.

Default 10

Flags​

1Remove On fire

The entity removes itself after it has set the counter once

See also​