Cant Find Quest in QM from Dialog System

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
vectorfrog
Posts: 86
Joined: Mon May 02, 2022 12:16 am

Cant Find Quest in QM from Dialog System

Post by vectorfrog »

Hi Tony,

I'm having a problem with setting the state of a QM quest through DS. The warning in the console is:

"Dialogue System: Can't find Quest Machine quest with ID 'SaveMia' to set its state."

I do have a quest with this ID in the QM database, it's also in the list of Quest Assets for the database.

The script code I am using is: SetQuestState("SaveMia", "active"). I have the Dialog System to Quest Machine Bridge component on the DS gameobject in the scene with both options selected.

Any ideas on what to look at would be greatly appreciated.

Thanks!

edit:

I'd like to note that it is giving me the same error when trying to do the same thing using the DS trigger Action.
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

Re: Cant Find Quest in QM from Dialog System

Post by Tony Li »

Hi,

Have you given the quest to the player (i.e., to the Quest Journal)? Use the GiveQuest() Lua function to give the quest.
Post Reply