Page 1 of 1
Don't skip if sequence fails
Posted: Tue Aug 02, 2022 1:03 am
by Yubaba
Apologies if this is super basic, but I'm just getting my head around sequences.
Atm if my AudioWait(entrytag) can't find the audio files in Resources, it skips the line. Can I make it type it out in silence like it would with an empty sequence?
Thank you so much of your excellent system!
Re: Don't skip if sequence fails
Posted: Tue Aug 02, 2022 8:46 am
by Tony Li
Hi,
Yes; include Delay({{end}}):
Code: Select all
Delay({{end}}); AudioWait(entrytag)
This is what the demo does. It will wait for AudioWait(entrytag) to finish
and for the duration specified by {{end}} to elapse. The value of {{end}} is determined by the text length and the Dialogue Manager's Subtitle Settings > Subtitle Chars Per Second and Min Subtitle Seconds.
If you want to instead wait for the typewriter effect to finish typing, use this:
Code: Select all
None()@Message(Typed);
AudioWait(entrytag)
The None() command does nothing. But the "@Message(Typed)" part makes it wait for the typewriter to finish before doing nothing. The result is that the sequence will wait for the typewriter to finish.
Re: Don't skip if sequence fails
Posted: Tue Aug 02, 2022 6:05 pm
by Yubaba
That's exactly what I need. Thank you so much, Tony.
Pete.
Re: Don't skip if sequence fails
Posted: Tue Aug 02, 2022 7:29 pm
by Tony Li
Happy to help!