Page 1 of 1
Play subtitles and audio at the same time
Posted: Mon Sep 10, 2018 11:19 am
by linyangyang2015
- quest3.png (38.68 KiB) Viewed 483 times
I want to Play subtitles and audio at the same time,But Sequence(Audio(FirstAudio/1)) interrupt the subtitles,How to solve it?
Re: Play subtitles and audio at the same time
Posted: Mon Sep 10, 2018 4:51 pm
by Tony Li
Hi,
Change "Audio" to "AudioWait". Or, even better:
Code: Select all
AudioWait(FirstAudio/1);
Delay({{end}})
The first line will play the audio, staying on the node until it's done playing.
The second line will also stay on the node for a duration based on the text length.
The node will stay for the longest of both of those lines.
Re: Play subtitles and audio at the same time
Posted: Mon Sep 10, 2018 11:01 pm
by linyangyang2015
OK,thanks.
Re: Play subtitles and audio at the same time
Posted: Tue Sep 11, 2018 9:47 am
by Tony Li
You're welcome!