Trigger auto (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (SirYodaJedi moved page Trigger auto to Trigger auto (GoldSrc))
No edit summary
Line 1: Line 1:
{{tabsBar|main=Logic auto}}
{{tabsBar|main=hls}}
{{CD|CAutoTrigger|goldsrc=1}}
{{CD|CAutoTrigger|goldsrc=1}}
{{this is a|point entity|name=trigger_auto|game=Half-Life}} It automatically fires its targets on map spawn.
{{this is a|point entity|name=trigger_auto|game=Half-Life}} It automatically fires its targets on map spawn.

Revision as of 12:46, 6 September 2024

[[{{{base}}} (GoldSrc)|GoldSrc]]
[[{{{base}}} (Half-Life: Source)|Half-Life: Source]]
C++ Class hierarchy
CAutoTrigger
CBaseDelay
CBaseEntity
C++ triggers.cpp

trigger_auto is a point entity available in Half-Life Half-Life. It automatically fires its targets on map spawn.

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