trigger_auto

A trigger_auto fires its target once, 0.1 seconds after the map loads. With a Global State to Read, it only
fires if that global state is On at that moment.
Attributes
The entity also has these common keys:
- Naming and triggering: Target, Delay before trigger and KillTarget
KeyDescriptionDefault
Trigger State
triggerstateSets the use type its Target gets when this entity fires it, and an entity without this key sends Off.
- Off (0)
- On (1)
- Toggle (2)
Default
Off (0)Global State to Read
globalstateNames a global state that an env_global sets. The entity only fires if that state is On.
If you leave this key empty, it always fires.
Flags
1Remove On fireThe entity removes itself after it fires. This flag is set by default
Notes
- Its Trigger State is Off by default, so its targets get the use type Off. To switch something on, set Trigger State to On or Toggle. See Trigger modes for more details
See also
trigger_relay- passes a trigger on- Round hooks - the names the game fires at each round start
- trigger_auto on TWHL - the Half-Life entity