Page 1 of 1

Quest Machine - Quest node state action is not called

Posted: Tue Aug 09, 2022 10:24 am
by Sadiq25
Hi.

We are new to the Quest Machine and Dialgue System tools (we use integration). In the quest machine, when a quest becomes successfull, action is called and message is sent. But when a node becomes "true", the action is not called. The node "Talk to Ivan" indeed becomes true, because then the quest becomes successfull, and message Reward 2 is sent. But Reward 1 is never sent (the action on the quest node True state). See images for reference.

Re: Quest Machine - Quest node state action is not called

Posted: Tue Aug 09, 2022 11:03 am
by Tony Li
Hi,

Thanks for using Quest Machine and the Dialogue System!

How are you setting the "Talk to Ivan" node true? What are the node's completion conditions?

After completing the quest, please inspect the player's Quest Journal component with the Quest Editor window open. In the Quest Journal's Quests lists, select the quest. The Quest Editor window will show the status of the nodes. Is the "Talk to Ivan" node in the True state?

Re: Quest Machine - Quest node state action is not called

Posted: Mon Aug 15, 2022 4:53 am
by Sadiq25
Problem solved. In the dialog action, in Lua, I used both SetQuestState to successful and Sen message "talked to ivan". So the first one just set the quest to successful and skipped setting node to true. Solved.

Re: Quest Machine - Quest node state action is not called

Posted: Mon Aug 15, 2022 8:33 am
by Tony Li
Great! I'm glad you found a good solution.