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

trigger_relay

From Valve Developer Community
Revision as of 14:13, 6 September 2024 by SirYodaJedi (talk | contribs)
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

Name (targetname) <string>
The targetname that other entities refer to this entity by.
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.
Trigger State (triggerstate) <integer choices>
  • 0 - Off
  • 1 - On
  • 2 - Toggle


(only in Team Fortress Classic)

Flags

Remove On fire : [1]