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

multisource

From Valve Developer Community
Revision as of 01:35, 9 September 2023 by Dmx6 (talk | contribs)
Jump to navigation Jump to search

Template:EntityTabs

Multisource.png

multisource is an e0 available in all GoldSrc GoldSrc games.

Warning.pngWarning:
  • The {{{engine}}} parameter is inconsistent with the name defined by the {{gldsrc}} template. This can most likely be fixed by setting the value of the {{{engine}}} parameter to GoldSrc.
    If a parameter is consistent but you're still seeing this warning, it may be an issue with the template itself. Please discuss it on the template's talk page.

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 ([todo internal name (i)]) <string>
Name - If a name is given to this entity, it can be activated by another trigger.


Target ([todo internal name (i)]) <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.