This article's documentation is for anything that uses the Source engine. Click here for more information.

multisource

From Valve Developer Community
Jump to: navigation, search
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 Source's I/O system.
Info.png
This entity is not in the FGD by default , except in Half-Life: Source Half-Life: Source and Half-Life Deathmatch: Source Half-Life Deathmatch: Source.
See below for instructions on making it available.
class hierarchy
CMultiSource defined in logicentities.cpp
CLogicalEntity
CServerOnlyEntity
CBaseEntity
Multisource.png

multisource is a point entity available in all Source 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>
Blank image.pngTodo:

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.
Icon-Bug.pngBug: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