This article's documentation is for the "GoldSrc" engine. Click here for more information.

multisource

From Valve Developer Community
(Redirected from Multisource)
Jump to: navigation, search
English (en)Translate (Translate)
Class hierarchy
CMultiSource
CPointEntity
CBaseEntity
buttons.cpp
Multisource.png

multisource is a point entity available in all GoldSrc GoldSrc games.

Entity description

Multisource behaves exactly the opposite as multi_manager. Instead of receiving a single input and triggering multiple outputs, multisource recieves multiple inputs, and will trigger its target if and only if every entity that targets the multisource has triggered said multisource. For basic use cases, this is all you need to know.

This entity is also the only entity that can be used as a master.
(Entities that specify a master cannot be enabled unless their master is enabled.)

It can used be create mechanisms. For example: a keycard for a slot.

Keyvalues

Name (targetname) <string>
Name - If a name is given to this entity, it can be activated by another trigger.
Target (target) <string>
Entity to activate.
Global entity name ([todo internal name (i)]) <string>
If this entity is used between multiple levels, all entities with this global entity name will have the same stats and properties.

See Also