Plays an audio clip from a DialogLibrary resource.
DialogLibrary
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.
Activate() - Starts playing a dialog.
Activate()
Use StageTrigger.tscn to implement dialog that plays as the player runs past it.
Trigger from a signal to play dialog as needed. Especially useful for bosses.
Last updated 1 year ago