Stop Quest Machine quest from opening when using Dialogue Manager

Announcements, support questions, and discussion for Quest Machine.
Post Reply
Grankor
Posts: 6
Joined: Sun Sep 20, 2020 5:38 pm

Stop Quest Machine quest from opening when using Dialogue Manager

Post 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?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
Grankor
Posts: 6
Joined: Sun Sep 20, 2020 5:38 pm

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

Post by Grankor »

That actually seems very logical and obvious. :)

Thanks!
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Glad to help!
Post Reply