Dialog Triggers

Plays an audio clip from a DialogLibrary resource.

Properties

  • Randomize - Enable this to play dialog keys in a random order instead of sequentially.

  • Delays - List of times to delay dialog.

  • Display Length - List of times to display subtitle keys. Setting this to 0 will use the dialog audio clip's length if it's available.

  • Text Keys - List of keys to play from the stage's DialogLibrary resource.

Methods & Signals

  • Activate() - Starts playing a dialog.

Usage

  1. Use StageTrigger.tscn to implement dialog that plays as the player runs past it.

  2. Trigger from a signal to play dialog as needed. Especially useful for bosses.

Last updated