Skip to main content

trigger_auto

trigger_auto icon
Point entity

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:

KeyDescriptionDefault
Trigger Statetriggerstate

Sets 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 Readglobalstate

Names 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 fire

The 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​