Oh, goodness.
My sequencer message command on the present button looks like this now:
The Dialogue entry that's waiting on this message looks like this:
I added a debug log entry to see InventorySequencerMessages.cs - which is attached to the Dialogue Manager- was running.
And it is.
But it still doesn't progress the conversation. Is there something else I should be looking out for? I'm sorry for not getting the gist of this sooner. Thank you for your insight.
[Solved!] How to progress to the next line of a conversation via C# script
-
- Posts: 111
- Joined: Thu Sep 27, 2018 11:06 pm
Re: [Solv...wait...] How to progress to the next line of a conversation via C# script
Thank you so much for your help.
Oh! My stats!
Unity 2020.1.10f1
Adventure Creator 1.72.2
Dialogue System for Unity 2.2.12
Oh! My stats!
Unity 2020.1.10f1
Adventure Creator 1.72.2
Dialogue System for Unity 2.2.12
Re: [Solv...wait...] How to progress to the next line of a conversation via C# script
Hi,
Try changing the Sequence to:
No space between Continue() and @Message. (I haven't checked the parser code to confirm that this is required, but if you get rid of the space it matches my test here.)
No quotes around InventoryClosed. (Sequences use a simplified syntax that omits a lot of things that are standard in C# and other languages, such as quotes around strings.)
Try changing the Sequence to:
Code: Select all
Continue()@Message(InventoryClosed)
No quotes around InventoryClosed. (Sequences use a simplified syntax that omits a lot of things that are standard in C# and other languages, such as quotes around strings.)
-
- Posts: 111
- Joined: Thu Sep 27, 2018 11:06 pm
Re: [Solv...wait...] How to progress to the next line of a conversation via C# script
Hey, going from
to
was all that was needed. It looks like the parser can handle white space after all!
Time to reinstate the solved box.
Code: Select all
Continue() @Message("InventoryClosed")
Code: Select all
Continue() @Message(InventoryClosed)
Time to reinstate the solved box.
Thank you so much for your help.
Oh! My stats!
Unity 2020.1.10f1
Adventure Creator 1.72.2
Dialogue System for Unity 2.2.12
Oh! My stats!
Unity 2020.1.10f1
Adventure Creator 1.72.2
Dialogue System for Unity 2.2.12