multisource
This entity is not in the FGD by default , except in Half-Life: Source and Half-Life Deathmatch: Source.
See below for instructions on making it available.
See below for instructions on making it available.
class hierarchy |
---|
CMultiSource defined in logicentities.cpp
|
multisource
is a point entity available in all Source games.
Deprecated entity from GoldSrc, only used in Half Life: Source, replaced by I/O system in Source.
This entity is the only entity that can be used as a master. (Entities that specify a master cannot be enabled unless their master is enabled.)
Keyvalues
Targetname:
- Name
(targetname)
<string> - The targetname that other entities refer to this entity by.
- Global State Master
(globalstate)
<string> - Todo:
Inputs
Use
- Multisource contains a list of all entities that are targetting it (i.e. target keyvalue of an entity is set to targetname of the multisource) and a state ON/OFF for each entity in the list. If an entity from the list is caller of this input the state is toggled. If all states are ON then OnTrigger output is fired.
Bug:If a caller of this input is not in the list, the game is supposed to print warning in console and ignore the input but instead it toggles the state of last entity in the list
Outputs
OnTrigger
- When Use input is successful