trigger_relay

From Valve Developer Community
Jump to: navigation, search
Class hierarchy
CTriggerRelay
CBaseEntity
hl1_ents.cpp
Obsolete-notext.png
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.
It has since been replaced 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.
  • 0 - Off
  • 1 - On
  • 2 - Toggle

Inputs

Use <void>
Fire this entity's outputs.

Outputs

OnTrigger <void>
Fired when this entity receives the Use input.

Flags

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