Unexpected behaviour of WaitForMessage

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ruanluyu
Posts: 2
Joined: Thu Dec 29, 2022 11:47 am

Unexpected behaviour of WaitForMessage

Post by ruanluyu »

I want to run two sequence commands asynchronously and continue scene after they are done.
To be concise I use "Delay(1)" and "Delay(2)" here to describe the problem.
The following sequence blocks conversation.

Code: Select all

Delay(1)->Message(A);
Delay(2)->Message(B);
WaitForMessage(A,B)->Message(C);
Continue()@Message(C);
The "OnSequencerMessage" of "SequencerCommandWaitForMessage" is never called.
Did I miss something?
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unexpected behaviour of WaitForMessage

Post by Tony Li »

I can reproduce this. I'm investigating now.
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unexpected behaviour of WaitForMessage

Post by Tony Li »

Hi,

This patch should fix it. This fix will also be in version 2.2.34.

DS_SequencerPatch_2022-12-29.unitypackage
ruanluyu
Posts: 2
Joined: Thu Dec 29, 2022 11:47 am

Re: Unexpected behaviour of WaitForMessage

Post by ruanluyu »

Hi, thanks for the fix, it works like a charm!
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Unexpected behaviour of WaitForMessage

Post by Tony Li »

Glad to help!
Post Reply