Page 1 of 1

Resume Conversation on Quest State Change

Posted: Wed Jan 07, 2015 10:23 am
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.

Resume Conversation on Quest State Change

Posted: Wed Jan 07, 2015 2:07 pm
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.