CLogicRelay

From SigMod
Revision as of 17:44, 10 July 2022 by Mince (talk | contribs)
Jump to navigation Jump to search

Overview

An entity used to forward or "relay" a number of inputs to other entities. It's use 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

Entity DataMaps

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