Page 2 of 2
Re: Sequence Message(1) not work
Posted: Mon Jan 06, 2020 3:49 pm
by marche4ever
I put this in a Unity Package
[removed]
Re: Sequence Message(1) not work
Posted: Mon Jan 06, 2020 4:02 pm
by Tony Li
Thanks; I downloaded it, and I'm looking at it now. I removed the download link since it contains Dialogue System source files.
Re: Sequence Message(1) not work
Posted: Mon Jan 06, 2020 4:30 pm
by Tony Li
I can reproduce the issue. I'll post a fix here by this evening.
Re: Sequence Message(1) not work
Posted: Mon Jan 06, 2020 8:28 pm
by Tony Li
Thanks for alerting me to this timing issue. It involves sequences of the form "->Message(X); Continue()@Message(X)". This patch should fix it:
DialogueSystem_2_2_4_Patch20200106.unitypackage
Re: Sequence Message(1) not work
Posted: Tue Jan 07, 2020 11:43 am
by marche4ever
Hi Tony, thanks for the patch. It fixed the case where two nodes have different parameter for Message(x).
This works now after the patch
Node1 Sequence:
MoveTo(destination, target, 1)@Message(1);
Continue()@Message(1);
Node2 Sequence:
MoveTo(destination, target, 1)@Message(2);
Continue()@Message(2);
-----------------------------------------------------
This doesn't work, node2 won't continue:
Node1 Sequence:
MoveTo(destination, target, 1)@Message(1);
Continue()@Message(1);
Node2 Sequence:
MoveTo(destination, target, 1)@Message(1);
Continue()@Message(1);
Re: Sequence Message(1) not work
Posted: Tue Jan 07, 2020 11:59 am
by Tony Li
I'll check that and get back to you.
Re: Sequence Message(1) not work
Posted: Tue Jan 07, 2020 7:16 pm
by Tony Li
It was a timing issue. The sequencer activated the new command in the same frame that the previous node's command sent the message, so the new command also intercepted the message but too early. This patch should fix it:
DS_SequencerMessagePatch_2020-01-07.unitypackage
Re: Sequence Message(1) not work
Posted: Wed Jan 08, 2020 11:39 am
by marche4ever
Hi Tony, the patch fixed the issues. Thanks for the help!
Re: Sequence Message(1) not work
Posted: Wed Jan 08, 2020 1:04 pm
by Tony Li
Glad to help! The fix will be in the next full release, too.