Page 1 of 1

Using Dialogue Variable in Sequencer

Posted: Tue Feb 04, 2020 12:40 am
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.

Re: Using Dialogue Variable in Sequencer

Posted: Tue Feb 04, 2020 9:14 am
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.