Trigger relay (GoldSrc): Difference between revisions
Jump to navigation
Jump to search

Confirm:In
Quake, any trigger entity can be used as a relay. Confirm if this behavior still exists in GoldSrc.
(-added class hierarchy) |
SirYodaJedi (talk | contribs) |
||
Line 7: | Line 7: | ||
{{Hl1 kv targetname}} | {{Hl1 kv targetname}} | ||
{{Hl1 kv targetx}} | {{Hl1 kv targetx}} | ||
{{KV|Trigger State|intn=triggerstate|integer choices}} | {{KV|Trigger State|intn=triggerstate|integer choices|USE_TYPE to use the target with.}} | ||
:* 0 - Off | :* 0 - Off | ||
:* 1 - On | :* 1 - On |
Latest revision as of 05:12, 29 May 2025
![]() |
---|
CTriggerRelay |
![]() |

trigger_relay
is a point entity available in all 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, and can apply a delay when a delay isn't normally available.


Keyvalues
- 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>
- USE_TYPE to use the target with.
- 0 - Off
- 1 - On
- 2 - Toggle
TFCriteria:
TFOperat2:
TFEffects1:
TFEffects2:
TFEffects3:
TFEffects5:
![]() ![]()
|
Flags
- Remove On fire : [1]