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

Confirm:In
Quake, any trigger entity can be used as a relay, as they trigger when used in addition to when touched. Confirm if this behavior still exists in GoldSrc.
SirYodaJedi (talk | contribs) |
SirYodaJedi (talk | contribs) No edit summary |
||
| Line 2: | Line 2: | ||
{{CD|CTriggerRelay|goldsrc=1}} | {{CD|CTriggerRelay|goldsrc=1}} | ||
{{This is a|point entity|name=trigger_relay|engine=GoldSrc|sprite=1}} 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. | {{This is a|point entity|name=trigger_relay|engine=GoldSrc|sprite=1}} 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. | ||
{{confirm|In {{quake|2}}, ''any'' trigger entity can be used as a relay. Confirm if this behavior still exists in GoldSrc.}} | {{confirm|In {{quake|2}}, ''any'' trigger entity can be used as a relay, as they trigger when [[use]]d in addition to when touched. Confirm if this behavior still exists in GoldSrc.}} | ||
{{clr}} | {{clr}} | ||
== Keyvalues == | == Keyvalues == | ||
Latest revision as of 12:40, 29 October 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]