Skip to main content

trigger_counter

trigger_counter icon
Brush entity

A trigger_counter fires its target after you have triggered it a set number of times, and then removes itself.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Messagemessage

Sets text that the player who triggered it last sees when the counter fires.

Count before activationcount

Sets how many triggers it takes before the counter fires its target. A game_counter has more choices.

Default 2

Flags​

1No console messages

The counter writes no countdown lines, such as "Only 1 more to go...", in the console. These lines only show with developer 1 set in the console

See also​