CLogicRelay

From SigMod
Revision as of 17:44, 10 July 2022 by Mince (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview[edit | edit source]

An entity used to forward or "relay" a number of inputs to other entities. It's usage is similar to that of a function or subroutine in programming, when you have a number of inputs which you would like to send repeatedly across the logic of your map, you can package them into a logic_relay to be fired with a single input, rather than repeating large sections of logic redundantly.

Source location : /game/server/logicrelay.h

Linked Entity : logic_relay

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CLogicRelay
Name Type Description
InputCancelPending
InputDisable
InputEnable
InputEnableRefire
InputToggle
InputTrigger
m_OnSpawn
m_OnTrigger
m_bDisabled
m_bWaitForRefire