Page 1 of 1

Cant Find Quest in QM from Dialog System

Posted: Wed May 17, 2023 4:18 pm
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.

Re: Cant Find Quest in QM from Dialog System

Posted: Wed May 17, 2023 5:37 pm
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.