trigger_auto

From Valve Developer Community
Jump to: navigation, search
Class hierarchy
CAutoTrigger
CBaseEntity
hl1/hl1_ents.cpp
Obsolete-notext.png
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.
It has since been replaced by logic_auto.

trigger_auto is a point entity available in Half-Life: Source Half-Life: Source.

Note.pngNote:This entity counts as an edict.

Keyvalues

Global State to Read (globalstate) <choices>
If set, this specifies a global state to check before firing. Outputs are only fired if this global state exists and if it is turned on. See env_global.

Outputs

OnTrigger <void>
Fired when map spawns, and, depending upon spawnflag 1, when loading a saved game.

Flags

  •  [1] : Fire once
       Only fire outputs when the map first spawns (gets killed afterward). If unticked, this will also fire outputs when the player respawns from loading a saved game.