Component > Dialogue System > Trigger > Sequence
Sequence Trigger plays a cutscene sequence when the specified trigger occurs.
Property | Function |
---|---|
Once | Play the sequence once and then destroy this component |
Sequence | The sequence to play |
Speaker | The GameObject to use for the speaker keyword in sequences. If unassigned, defaults to the GameObject that initiated the trigger |
Listener | The GameObject to use for the listener keyword in sequences. In unassigned, defaults to the component's GameObject |
Condition | The Trigger Conditions required for the trigger to fire |
Trigger | The trigger that causes the sequence to play |
This component plays a cutscene sequence when the specified trigger occurs.
Both participants receive "OnSequenceStart" and "OnSequenceEnd" messages.
The Once checkbox only works during the current scene. If you want this functionality to persist between level changes or saved games, use a Lua condition instead.
<< Components