Page 1 of 1

Unexpected behaviour of WaitForMessage

Posted: Thu Dec 29, 2022 12:14 pm
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?

Re: Unexpected behaviour of WaitForMessage

Posted: Thu Dec 29, 2022 1:42 pm
by Tony Li
I can reproduce this. I'm investigating now.

Re: Unexpected behaviour of WaitForMessage

Posted: Thu Dec 29, 2022 2:28 pm
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

Re: Unexpected behaviour of WaitForMessage

Posted: Sun Jan 22, 2023 3:59 am
by ruanluyu
Hi, thanks for the fix, it works like a charm!

Re: Unexpected behaviour of WaitForMessage

Posted: Sun Jan 22, 2023 8:29 am
by Tony Li
Glad to help!