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) No edit summary  | 
				SirYodaJedi (talk | contribs)  No edit summary  | 
				||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{  | {{TabsBar|main=hls|base=trigger_relay}}  | ||
{{  | {{CD|CTriggerRelay|goldsrc=1}}  | ||
{{confirm|In {{quake|2}}, ''any'' trigger entity can be used as a relay. Confirm if this behavior still exists in GoldSrc.}}  | {{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, as they trigger when [[use]]d in addition to when touched. Confirm if this behavior still exists in GoldSrc.}}  | |||
{{clr}}  | {{clr}}  | ||
== Keyvalues ==  | == Keyvalues ==  | ||
{{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 11: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]