This article's documentation is for the "GoldSrc" engine. Click here for more information.

trigger_relay

From Valve Developer Community
(Redirected from Trigger relay)
Jump to navigation Jump to search
Trigger relay.png

trigger_relay is a point entity available in all GoldSrc GoldSrc games. This entity acts as a relay between an event and its target. Its main advantage is that it can send a specific trigger state to its target.

Key Values

Targetname:

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Target:
Target (target) <targetname>
The targetname of an entity this entity will trigger when activated.

TargetX:

Delay before trigger (delay) <integer>
Delay in seconds before firing the targeted entity.
Killtarget (killtarget) <targetname>
Entity to remove when activated.
Trigger State (triggerstate) <integer choices>
  • 0 - Off
  • 1 - On
  • 2 - Toggle


(only in Team Fortress Classic)

Flags

Remove On fire : [1]