Multi manager (Half-Life: Source): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Replaced content with "{{delete}}")
Tag: Replaced
Line 1: Line 1:
{{EntityTabs|multi_manager|goldsrc = 1|source = 1|main = source}}
{{delete}}
{{obsolete|entity=1|replacement=Source's [[I/O]] system}}
{{CD|CMultiSource|file1=logicentities.cpp}}
{{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}} ({{src|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]]

Revision as of 11:01, 4 August 2023

Warning icon.png
This article has been marked as a candidate for speedy deletion.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.