Trigger auto (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Use the proper link for "monster_scientist")
(cleanup)
Line 1: Line 1:
{{merge|[[trigger_auto (GoldSrc)]]}}
{{this is a|point entity|name=trigger_auto|game=Half-Life}} It automatically fires an input to a specified entity on map spawn. This is the predecessor to [[logic_auto]].
{{HL1}} '''trigger_auto''' is a point entity available in [[Half-Life]].
 
==Entity description==
 
Automatically fires an input to a specified entity on map spawn. This is the predecessor to [[logic_auto]].


== Keyvalues ==
== Keyvalues ==
{{KV|Name|string|The name of tne entity.}}
{{KV|Name|string|The name of tne entity.}}
{{KV|Target|target_destination|Used for navigation and to fire a hardcoded input to an entity.}}
{{KV|Target|target_destination|Used for navigation and to fire a hardcoded input to an entity.}}
Line 24: Line 18:


== Flags ==
== Flags ==
{{fl|1|Remove on fire}}
{{fl|2|Gag (No IDLE sounds until angry)}}
{{fl|4|MonsterClip}}
{{fl|8|No wreckage}}
{{fl|16|Prisoner}}
{{fl|64|Start inactive}}
{{fl|128|Wait for script}}
{{fl|256|Pre-disaster (Only for use with [[monster_scientist_(GoldSrc)|monster_scientist]] -- has no effect on aliens).}}
{{fl|512|Fade corpse}}
{{fl|2048|Not in Deathmatch (some entities don't have this set in their FGD, but it works for all entities if set).}}


* 1 : Remove on fire
== See Also ==
* 2 : Gag (No IDLE sounds until angry)
* {{ent|logic_relay}}
* 4 : MonsterClip
* 8 : No wreckage
* 16 : Prisoner
* 64 : Start inactive
* 128 : Wait for script
* 256 : Pre-disaster (Only for use with [[monster_scientist_(GoldSrc)|monster_scientist]] -- has no effect on aliens).
* 512 : Fade corpse
* 2048 : Not in Deathmatch (some entities don't have this set in their FGD, but it works for all entities if set).


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

Revision as of 03:08, 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.
Target ([todo internal name (i)]) <targetname>
Used for navigation and to fire a hardcoded input to an entity.
Global State to Read ([todo internal name (i)]) <string>
Trigger state ([todo internal name (i)]) <choices>
Affects when the entity can fire an input to another entity.
Value Description
0 Off
1 On
2 Toggle

Flags

Remove on fire : [1]
Gag (No IDLE sounds until angry) : [2]
MonsterClip : [4]
No wreckage : [8]
Prisoner : [16]
Start inactive : [64]
Wait for script : [128]
Pre-disaster (Only for use with monster_scientist -- has no effect on aliens). : [256]
Fade corpse : [512]
Not in Deathmatch (some entities don't have this set in their FGD, but it works for all entities if set). : [2048]

See Also