Page 1 of 1

AC load quest state

Posted: Thu Apr 19, 2018 9:37 am
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

Re: AC load quest state

Posted: Thu Apr 19, 2018 10:18 am
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.