trigger_relay

A trigger_relay fires its target when you trigger it, with the use type you set, so it can change a Toggle into an
On or an Off. It can also delay the trigger and pass the activator on to its targets.
Attributes
The entity also has these common keys:
- Naming and triggering: Name, Target, Delay before trigger and KillTarget
KeyDescriptionDefault
Trigger State
triggerstateSets the use type the targets get. If the key is missing, the targets get Off, as in Half-Life.
- Off (0)
- On (1)
- Toggle (2)
- Copy Input (-1) - The use type the relay got
- Reverse Input (-2) - On becomes Off and Off becomes On, and other use types pass on as they came
Default
Off (0)After it fires, the relay ignores every trigger for this many seconds, where 0 means no wait.
Names a master. While the master is locked for the activator, a trigger doesn't fire the relay's targets.
Flags
1Remove On fireThe relay removes itself after it fires once
The targets get the activator the relay got. Without this flag, the relay itself is the activator
See also
- Entity triggering - wildcards and the selectors
!activatorand!caller multi_manager- fires several targets with delays- trigger_relay on TWHL - the Half-Life entity
Changes since 1.38
- You can use the new Trigger State choices Copy Input (-1) and Reverse Input (-2), the new key Delay Before Reset and the new flags Forward activator (64) and Pass caller as activator (128)
trigger_relayhas a Master


