Trigger auto (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 21: Line 21:


== See Also ==
== See Also ==
* {{ent|logic_relay}}
* {{ent|logic_auto}}


[[Category:Half-Life]]
[[Category:Half-Life]]

Revision as of 05:17, 29 June 2024

trigger_auto is a point entity available in Half-Life Half-Life. It automatically fires an input to a specified entity on map spawn. This is the predecessor to logic_auto.

Keyvalues

Name ([todo internal name (i)]) <string>
The name of tne entity.
Global State to Read ([todo internal name (i)]) <string>
The trigger_auto will only fire its target if this state have been set by an env_global.
Trigger state ([todo internal name (i)]) <choices>
The state to set on the targeted entity.
Value Description
0 Off
1 On
2 Toggle
Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.
Delay before trigger (delay) <integer>
Delay in seconds before firing the targeted entity.
Killtarget (killtarget) <targetname>
Entity to remove when activated.

Flags

Remove on fire : [1]

See Also