Page 1 of 1

Stop Quest Machine quest from opening when using Dialogue Manager

Posted: Thu Sep 24, 2020 7:52 pm
by Grankor
I think the cause of this is when there is an issue with the quest state and the conditions that look at the quest.

It works perfectly when everything is set correctly and the quest is in an expected state.
However, if I abandon a quest (for example), and talk to the NPC who gave it, I get the Quest Machine window instead of Dialogue System window.

Suggestions?

Re: Stop Quest Machine quest from opening when using Dialogue Manager

Posted: Thu Sep 24, 2020 8:09 pm
by Tony Li
Hi,

When you start dialogue with a Quest Giver, it first makes a list of quests to discuss.

If there is more than one quest, the integration will generate a Dialogue System conversation that lets the player choose a quest. If there is only one quest, it will automatically choose that quest.

Then the Quest Giver will gather all of the quest content for the current quest state and quest node states. If any of that quest content is a Dialogue System Conversation Quest Content, then it will play a Dialogue System conversation. Otherwise it will show the quest content in a Quest Machine window.

If the player has abandoned the quest, the Quest Giver will gather the quest content for the Abandoned state. If your quest has no Dialogue System Conversation Quest Content for the Abandoned state, it will show the Quest Machine window.

So the solution in your case is probably to add a Dialogue System Conversation Quest Content to the quest's States > Abandoned > Dialogue Text list.

Re: Stop Quest Machine quest from opening when using Dialogue Manager

Posted: Thu Sep 24, 2020 8:26 pm
by Grankor
That actually seems very logical and obvious. :)

Thanks!

Re: Stop Quest Machine quest from opening when using Dialogue Manager

Posted: Thu Sep 24, 2020 8:43 pm
by Tony Li
Glad to help!