Skip to main content

trigger_sequence

trigger_sequence icon
Point entityPorted from CS:CZ Deleted Scenes SDK

A trigger_sequence runs an entry of the map's sequence file, sequences/<map name>.seq, or of sequences/global.seq, when you trigger it. An entry is a list of timed commands that trigger and remove entities, show HUD text to every player and play sounds, so a whole scripted scene can be in one text file. See Sequence files for more details.

Attributes​

The entity also has these common keys:

KeyDescriptionDefault
Sequence namesequence_id

Names the entry in the sequence file, written without the %.

Flags​

1Fire once

The entry can only start once, whether it finished or was stopped

Notes​

  • On or Toggle starts the entry from its first command, and a running entry starts again. Off stops a running entry
  • A round start doesn't stop a running entry, and an entry with Fire once stays used up until the map changes
  • The game reads sequences/global.seq and the map's file when the map loads, and it writes errors in the files to the server console. Players download the map's file with the map

See also​

Changes since 1.38​

  • trigger_sequence is new