Page 1 of 1

[Solved] Chaining dialogs

Posted: Tue Oct 30, 2018 3:01 pm
by ava
Hello,

First: wonderful product! I'm learning how to work with DS and I'm loving it a lot!

Small question: I cannot find how I can chain multiple dialogs. By that I mean:

* I have an NPC with a Useable script and a DialogueSystemTrigger. This starts a dialog when I hover over the NPC and press space.

* At the end of that dialogue, I'd like to have the NPC start another dialog when I am using him again

* So I should change the Conversation field in the StartConversation action when the first dialogue ended. How can I do that?

Thanks for any help!
Alex

Re: Chaining dialogs

Posted: Tue Oct 30, 2018 4:05 pm
by Tony Li
Hi Alex,

I just replied in another thread. I'll copy that here:

Use a single Dialogue System Trigger that starts a "hub" conversation. Use cross-conversation links in the hub conversation to link to each of the 20 conversations. Add a condition to the first node of each conversation so that only one is true at any given time. I actually prefer this because it keeps all the logic in one place (the dialogue database).


To link to another conversation, select the origin node. In the Inspector, there's a "Link To:" dropdown. Select "(Another Conversation)". Then you can select the destination conversation and node.

Re: Chaining dialogs

Posted: Wed Oct 31, 2018 4:48 am
by ava
Good idea, I prefer this solution as well.

Thx!