Trigger relay (Half-Life: Source): Difference between revisions
Jump to navigation
Jump to search

Important:This entity counts as an edict! Use logic_relay or logic_timer instead.
SirYodaJedi (talk | contribs) (→Keyvalues: stray semicolon) |
SirYodaJedi (talk | contribs) (→Inputs) |
||
| Line 13: | Line 13: | ||
== Inputs == | == Inputs == | ||
{{I|Use|param=void|Fire this entity's outputs.}} | {{I|[[Use]]|param=void|Fire this entity's outputs.}} | ||
== Outputs == | == Outputs == | ||
Latest revision as of 13:00, 26 October 2025
| CTriggerRelay |
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
It has since been deprecated by: logic_relay and logic_timer.
It has since been deprecated by: logic_relay and logic_timer.

trigger_relay is a logical entity available in
Half-Life: Source.
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentnameortarget).
Also displayed in Hammer's 2D views and Entity Report. - See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Refire interval (repeatinterval) <float>
- After the Use input the OnTrigger output will be fired repeatedly with this interval if Fire Once flag is not set.
- Refire duration (repeatduration) <float>
- Duration after which this entity is killed after being used.
Trigger State (triggerstate) <integer choices>
- Deprecated.
Unused leftover from GoldSrc; use the appropriate inputs instead.
Inputs
- Use <void>
- Fire this entity's outputs.
Outputs
- OnTrigger <void>
- !activator = activator of Use input, on refires it's this entity
!caller = this entity
Fired when this entity receives the Use input.
Flags
- Fire Once : [1]
- Kill this entity immediately after it fires the OnTrigger output.