Resume Conversation on Quest State Change

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
bautistac
Posts: 14
Joined: Tue Jan 06, 2015 5:31 pm

Resume Conversation on Quest State Change

Post by bautistac »

Is there any way to have a conversation automatically resume or start when a quest is completed?



I have a narrator that gives and activates a quest in the same dialogue node. I then have a trigger object that changes the state to successful. The next node has the condition of the quest state being successful. The alert shows that the quest completes but I want the next node in conversation to automatically  start upon quest completion and it does not.



I am sure that I can accomplish this with ConversationStarter.conversation but I am hoping there is a better way to do it inside of the Dialogue System rather than through an external script.
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Resume Conversation on Quest State Change

Post by Tony Li »

Hi,



Here are two scriptless ways:



1. Keep the conversation active until the entire series of events is done. There's an example in Dialogue System/Examples/Tutorial Example/ that does exactly this. You'll find a PDF file in that folder that explains how it's set up. The only caveat is that only one conversation may be active at a time, so you can't run any other conversations while this is going on.



2. Use a Condition Observer to watch the observe of the quest state. When it's complete, send an OnUse message to a Conversation Trigger that's set to trigger OnUse.
Post Reply