4.6. mtl_trigger_sequence

An advanced variant of multi_manager, this entity can trigger multiple targets, each at a specific time. Unlike multi_manager, there is no limit to the number of targets. This entity can also be set to loop automatically.

Properties

  • Name (targetname) -- The name of this entity.
  • Loop mode (loop_mode)
    • No looping (0) -- The sequence will be executed once when it is triggered.
    • Loop until triggered again (1) -- The sequence will be executed over and over until it is triggered again. The sequence can also be started or stopped explicitly by sending an 'on' or 'off' signal, or by using the +targetname and -targetname target patterns.
    • Loop indefinitely (2) -- The sequence will be executed over and over. Triggering it again has no effect.
  • Initial delay (Start on) (initial_delay) -- The number of seconds to wait before starting. The default is 0 seconds. Only applies when the 'Start on' flag is enabled.
  • Delay between loops (loop_delay) -- The number of seconds to wait before starting again. The default is 0 seconds. Only applies when looping is enabled.

Flags

  • Multithreaded (1) If enabled, triggering this entity again before it has finished its sequence will spin up another copy.
  • Start on (2) -- If enabled, the sequence will start immediately when the map is first loaded.

Notes

  • This entity will automatically spread its targets across multiple multi_managers if it has more than 16 targets.
  • Single-threaded behavior is the same as multi_manager: the mtl_trigger_sequence only reacts to being triggered after it has triggered its final target.