CLogicRelay: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
An entity used to relay | 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 : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicrelay.h /game/server/logicrelay.h]''' | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/logicrelay.h /game/server/logicrelay.h]''' | ||
Latest revision as of 17:44, 10 July 2022
Overview
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
- CBaseEntity
- CServerOnlyEntity
- CLogicalEntity
- CLogicRelay
- CLogicalEntity
- CServerOnlyEntity
Entity DataMaps
| Name | Type | Description |
|---|---|---|
| InputCancelPending | ||
| InputDisable | ||
| InputEnable | ||
| InputEnableRefire | ||
| InputToggle | ||
| InputTrigger | ||
| m_OnSpawn | ||
| m_OnTrigger | ||
| m_bDisabled | ||
| m_bWaitForRefire |