Multi manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Undo revision 334512 by NOUG4AT (talk))
Tags: New redirect Undo
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{EntityTabs|multi_manager|goldsrc = 1|source = 1|main = source}}
#REDIRECT [[multi_manager (GoldSrc)]]
{{obsolete|entity=1|replacement=Source's [[I/O]] system}}
{{entity|type=point|engine=source|multi_manager|sprite=1}}
Deprecated entity from GoldSrc, only used in {{hls|4}}, replaced by [[I/O]] system in {{src|4}}.
 
==Entity description==
Lets you trigger multiple entities, potentially with a delay before fire for each targeted entity.
 
To trigger an entity with it, you must first turn off smartedit, then add keyvalue pairs for the targets. The "key" is the [[targetname]] of the entity you want to target. The "value" is the delay in seconds before the entity is triggered after the <code>multi_manager</code> itself has been triggered. The same targetname can be targeted multiple times at different delays, however the keyvalue will become ''targetname#1'' and so on.
 
A maximum of 16 targets can exist for a single <code>multi_manager</code>.
 
==Key Values==
{{Hl1 kv targetname}}
{{ScrollBox|title=Targets|
; Any other entity's [[targetname]] <code><[[float]]></code>
: The entity targetnames to be fired by this <code>multi_manager</code>. The key is the targetname of another entity, and the value is the delay in seconds. Up to 16 targets in the queue can exist.{{note|These keyvalues must be added manually without smart edit.}}}}
 
== Media ==
<gallery mode=nolines widths=384px heights=256px>
mm_in_source.png|Entity in {{hammer|4}}
</gallery>
 
==Flags==
* 1: Multithreaded - This allows the <code>multi_manager</code> to be targeted again after it has been targeted once, but before all of the targets in its queue have been fired. It does this by creating a clone of itself that will trigger all targets and then remove itself. This can cause a noticeable increase in the number of entities if the manager has targets with long delays.
{{warning|When the <code>multi_manager</code> clones itself, it takes an additional entity slot in the game for every cloning. If all entity slots are taken up, the game will crash with an error message of <code>'''ED_Alloc No Free Edicts'''</code>. There are other ways of looping one multimanager without the need of this flag ticked, [https://twhl.info/wiki/page/Tutorial%3A_Multi_manager_Looping_Made_Easy such as this one].}}
[[Category:Half-Life Source]][[Category:Half-Life Source Entities]]

Latest revision as of 12:11, 4 August 2023