I put this in a Unity Package
[removed]
Sequence Message(1) not work
Re: Sequence Message(1) not work
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
I can reproduce the issue. I'll post a fix here by this evening.
Re: Sequence Message(1) not work
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
DialogueSystem_2_2_4_Patch20200106.unitypackage
-
- Posts: 20
- Joined: Mon Jan 21, 2019 5:29 pm
Re: Sequence Message(1) not work
Hi Tony, thanks for the patch. It fixed the case where two nodes have different parameter for Message(x).Tony Li wrote: ↑Mon Jan 06, 2020 8:28 pm 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
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
I'll check that and get back to you.
Re: Sequence Message(1) not work
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
DS_SequencerMessagePatch_2020-01-07.unitypackage
-
- Posts: 20
- Joined: Mon Jan 21, 2019 5:29 pm
Re: Sequence Message(1) not work
Hi Tony, the patch fixed the issues. Thanks for the help!
Re: Sequence Message(1) not work
Glad to help! The fix will be in the next full release, too.