CURRENTQUESTSTATE NOT RESOLVING

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Sumosake
Posts: 16
Joined: Tue Oct 11, 2022 6:00 pm

CURRENTQUESTSTATE NOT RESOLVING

Post by Sumosake »

For some reason, in my Conversations when checking the Condition... CurrentQuestState("QUEST") == "assigned" is not being resolved. It has worked the past, so I know I inadvertently checked or unchecked something.

Same issue with == "success".

HasQuest("QUEST") == true; is working fine. Quest is appearing in the Journal.

I've used the dropdown menu to build my conditions so it not a misspelling and I have the DialogueSystemQuestMachineBridge componeent on my DM as well as checked the box for
ProcessQuestMacheTags and OverrideQuestLog.


Just frustrated at this point. I know it something simple.

Thanks





Using DS, DS AI, QM and L/H products.
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: CURRENTQUESTSTATE NOT RESOLVING

Post by Tony Li »

Hi,

Are there any errors or warnings in the Console window when the conversation gets to that condition?

One way to help debug this is to add a Lua Console to your scene.

During play, press ~+L to open the Lua Console. Then enter: return CurrentQuestState("QUEST")
Sumosake
Posts: 16
Joined: Tue Oct 11, 2022 6:00 pm

Re: CURRENTQUESTSTATE NOT RESOLVING

Post by Sumosake »

Thanks Tony!

LUA Console Window is super useful!

The whole issue was just me... I rewatched some videos and found all my GetQuestNodeState conditions were all missing??? I swear these conversations were working last week. Not sure what I did but it's all working again.

Thanks again for all you do!
User avatar
Tony Li
Posts: 22093
Joined: Thu Jul 18, 2013 1:27 pm

Re: CURRENTQUESTSTATE NOT RESOLVING

Post by Tony Li »

Glad to help!
Post Reply