Difference between revisions of "Multi manager"

From Sven Co-op
Jump to navigation Jump to search
m (Usetype table)
m
 
Line 5: Line 5:
 
Entity that allows to trigger multiple targets when triggered (max 64), each having it's own time delay and triggering type (On, Off, Toggle or Kill). Useful when we need to trigger more than one target with different names. In order to do this, you will have to disable Valve Hammer Editor's smart edit mode while viewing a multi_manager entitiy's properties. There, you may add custom keyvalues.
 
Entity that allows to trigger multiple targets when triggered (max 64), each having it's own time delay and triggering type (On, Off, Toggle or Kill). Useful when we need to trigger more than one target with different names. In order to do this, you will have to disable Valve Hammer Editor's smart edit mode while viewing a multi_manager entitiy's properties. There, you may add custom keyvalues.
 
<br>
 
<br>
The name of the key be the targetname of the entity/entities to be triggered. The value be the time, in seconds, till the target will be fired after the multi_manager entity is triggered (E.g.: "2.5").
+
The name of the key is the targetname of the entity/entities to be triggered (wildcards are also supported). The value be the time, in seconds, till the target will be fired after the multi_manager entity is triggered (E.g.: "2.5").
 
<br>
 
<br>
The default use-type is 'Toggle'. For other use-types, you must add a token to the value (without the quotes):
+
The default use-type is 'Toggle'. For other use-types, you must add a token to the value:
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-

Latest revision as of 01:12, 18 March 2023

multi_manager
Type

point

Status

supported

 


Entity that allows to trigger multiple targets when triggered (max 64), each having it's own time delay and triggering type (On, Off, Toggle or Kill). Useful when we need to trigger more than one target with different names. In order to do this, you will have to disable Valve Hammer Editor's smart edit mode while viewing a multi_manager entitiy's properties. There, you may add custom keyvalues.
The name of the key is the targetname of the entity/entities to be triggered (wildcards are also supported). The value be the time, in seconds, till the target will be fired after the multi_manager entity is triggered (E.g.: "2.5").
The default use-type is 'Toggle'. For other use-types, you must add a token to the value:

#0 Off
#1 On
#2 Kill

E.g., a value could be "3.25#2" to killtarget after 3.25 seconds. You may add the same targetnames/keys multiple times. Valve Hammer Editor will automatically add a hash ('#') followed by an ID to the key, as identical keys in the same entity aren't originally supported.

1 Flags

1 : Multithreaded

If set, a single multi_manager can have multiple instances. That means, it can be activated while already running, causing a temporary copy of it to be created and run on its own. It is worth remembering that if you have problems when attempting to trigger multi_manager again (in case all events were supposed to be completed before retriggering, but somehow multi_manager is still blocked), this key may help you fix an issue.

2 Notes

Removing a multi_manager from the game while it is running results in it properly ceasing all of its triggering-actions. A running multi_manager entity cannot be stopped through other means than removing it.