Trigger Auto

trigger_auto is a map function in Sven Co-op that automatically activates a target entity after the map is loaded. This is typically used in conjunction with a multi_manager so that multiple different entities can be triggered upon map initialization: the trigger_auto will simply trigger the multi_manager that will handle the rest of the triggering of entities. '' { "classname" "trigger_auto" "target" "" "triggerstate" "0/1/2" "delay" "t" "spawnflags" "s" } ''

It is recommended to use the "delay" attribute with a non-zero value to avoid undesired effects- typically a delay of 0.5 seconds should be used.

Attributes
0 : "Off" 1 : "On" 2 : "Toggle" Warning: if this key is not explicitly set, the default value will be 0 which will trigger off the target entity. If an entity needs to be activated (which is most often the case) the triggerstate value must be explicitly set to 1.
 * Trigger State- "triggerstate" "0/1/2": This defines how the target entity should be activated:


 * Delay- "delay" "t": Time t in seconds to activate the target entity. This should be non-zero.

Flags
"spawnflags" "s", when s equals:
 * 2- Remove On Fire : The trigger_auto is deleted once the target entity is triggered. This should be always be enabled for performance reasons.