trigger_relay

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
CTriggerRelay
CBaseEntity
hl1_ents.cpp
Obsolete-notext.png
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.
Trigger relay.png

trigger_relay is a point entity available in Half-Life: Source Half-Life: Source.

Icon-Important.pngImportant:This entity counts as an edict! Use logic_relay instead.

Keyvalues

Refire interval (repeatinterval) <float>
Refire duration (repeatduration) <float>
Trigger State (triggerstate) <integer choices> Obsolete
Deprecated.
Leftover from GoldSrc; use the appropriate entity's inputs instead.
  1. Off
  2. On
  3. Toggle

Inputs

Use <void>
Fire this entity's outputs.

Outputs

OnTrigger
!activator = activator of Use input
!caller = this entity
Fired when this entity receives the Use input.

Flags

Fire Once : [1]
Kill this entity after it fires its outputs.