trigger_timer

A trigger_timer fires its target again and again while it is on, after random delays between a minimum and a
maximum.
Attributes
The entity also has these common keys:
- Naming and triggering: Name
targetFires after each delay, with the timer as the activator. With Forward activator, the activator is the entity that turned the timer on.
min_delaySets the shortest delay between two fires, in seconds.
0.5max_delaySets the longest delay between two fires, in seconds.
1.0trigger_numberSets how many times it fires before it turns off, where 0 means no limit.
0trigger_on_limitFires when it reaches the Trigger number limit.
round_resetWith Yes, the entity goes back to its state at map load at each round start, before the players spawn. See Round hooks for more details.
- No (0)
- Yes (1)
No (0)Flags
1Start onThe timer is on when the map loads
32Don't delay first fireThe first fire comes at once when the timer turns on, instead of after a random delay
64Forward activatorThe target gets the entity that turned the timer on as its activator. If that entity is gone, the timer is the activator
128Scheduled delaysThe random delays follow a sequence that is fixed when the map loads, and each delay is still between the minimum and the maximum
256Don't reset trigger counter on deactivationThe timer keeps its count when it turns off, so the count for Trigger number limit continues when it turns on again. Without this flag, the count goes back to 0
Notes
- On turns it on, Off turns it off and Toggle switches it
See also
trigger_random- fires a random target, also with timers
Changes since 1.38
trigger_timeris new
