Using Dialogue Variable in Sequencer

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
RX-310
Posts: 22
Joined: Tue Jan 21, 2020 7:50 pm

Using Dialogue Variable in Sequencer

Post by RX-310 »

Is there any way to use Variables set on Dialogue Database on sequencer? For example I'm using a variable for audio file name for AudioWait(), so that the dialogue node plays a different voice file depending on input variable's value.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Using Dialogue Variable in Sequencer

Post by Tony Li »

Sure! Use the [var=variable] markup tag, such as:

Code: Select all

AudioWait([var=MyAudioVariable])
You can also use the [lua(code)] markup tag to include Lua expressions.

If you want to play a different audio file for each node, you may want to look into entrytags. The Cutscene Tutorials series has a tutorial on entrytags.
Post Reply