How AudioWait -> Delay??

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
qordud55
Posts: 6
Joined: Thu Nov 17, 2022 12:56 am

How AudioWait -> Delay??

Post by qordud55 »

I want to add a delay after the entire AudioWait
The method I thought of is the same as the picture.
Is there a way?

The entrytag for AudioWait is different for each one.
Attachments
dialogue.png
dialogue.png (101.22 KiB) Viewed 240 times
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: How AudioWait -> Delay??

Post by Tony Li »

Hi,

Assuming your dialogue entry's Sequence field is blank or contains {{default}}, the Default Sequence in your screenshot should play the entry's audio clip and then wait an additional 10 seconds.

If that's not happening in your project, temporarily set the Dialogue Manager's Other Settings > Debug Level to Info. This will log detailed conversation activity to the Console window. Each sequencer command will log two lines:

The first line will appear as soon as the dialogue entry starts. This line reports the command as the sequencer understands it.

The second line will appear when the command plays.
qordud55
Posts: 6
Joined: Thu Nov 17, 2022 12:56 am

Re: How AudioWait -> Delay??

Post by qordud55 »

Thank you.
You're welcome! It seems like applying {{default}} is causing a delay to occur.
However, the delay time is being applied from the start of the audio instead of after the AudioWait.
How can I make the Delay time apply after the AudioWait?
Attachments
dialogue_1.png
dialogue_1.png (79.52 KiB) Viewed 233 times
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: How AudioWait -> Delay??

Post by Tony Li »

Hi,

In that node, to delay for 2 seconds after the audio ends, set the node's Sequence to:

Code: Select all

AudioWait(CarrotEnd)->Message(Done);
Delay(2)@Message(Done)
If you want to use entrytags, leave the Sequence blank and set the Dialogue Manager's Default Sequence to:

Code: Select all

AudioWait(entrytag)->Message(Done);
Delay(2)@Message(Done)
More info:
qordud55
Posts: 6
Joined: Thu Nov 17, 2022 12:56 am

Re: How AudioWait -> Delay??

Post by qordud55 »

Thank you. maybe last question.
Is there a way to use each AudioWait as it occurs without using a separate entrytag each time?

ex)
CODE: SELECT ALL
AudioWait()->Message(Done);
Delay(2)@Done);
User avatar
Tony Li
Posts: 21684
Joined: Thu Jul 18, 2013 1:27 pm

Re: How AudioWait -> Delay??

Post by Tony Li »

Yes, that's exactly what entrytags are for.

More info:
Post Reply