AC load quest state

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hapciupalit
Posts: 24
Joined: Tue Nov 28, 2017 10:04 am

AC load quest state

Post by hapciupalit »

I'm not sure if I'm in the right place or I should have posted on AC forum, but I think you may be able to help me.
So I have a few conversations which change the state of a few variables in the database, like quest state, relationship between characters, which are attributes in the character tab and also some global variables like time etc...
Everything is ok till I load. If before I save a scene I had some progress in my quest, or some relationship with an NPC after I load everything goes back to default, except for the global variables.

Do you have any idea what could be the reason for this?
Thank you
User avatar
Tony Li
Posts: 21989
Joined: Thu Jul 18, 2013 1:27 pm

Re: AC load quest state

Post by Tony Li »

Hi,

Are you using AC's save system? If so, have you added a Dialogue System Saver component to your PersistentEngine prefab? (If you've updated AC, make sure that PersistentEngine still the component.)

In AC, you can define a global string variable named "DialogueSystemEnvironment". This will let you see what the Dialogue System is saving into AC at the end of conversations and when saving games.
Post Reply