trigger_relay
Jump to navigation
Jump to search

Important:This entity counts as an edict! Use logic_relay or logic_timer instead.
![]() |
---|
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.
parentname
ortarget
).
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.