Page 1 of 1

Save System for Item not working!

Posted: Thu May 23, 2019 1:20 pm
by harshad.asawale
The save system is saving the variables properly, but it does not save the state of the item.
For example, I am setting the "inventory" of an item to true when it is acquired, but unfortunately, it won't save.
DialogueLua.SetItemField (itemID,"Inventory",true);

Re: Save System for Item not working!

Posted: Thu May 23, 2019 2:17 pm
by Tony Li
Hi,

Inspect the Dialogue Manager. Tick Persistent Data Settings > Include All Item & Quest Data. By default this is unticked to keep saved games smaller because many don't need to save this info; they only need to save quest states.

Re: Save System for Item not working!

Posted: Thu May 23, 2019 2:31 pm
by harshad.asawale
Again, saves the day !! Thank you :)

Re: Save System for Item not working!

Posted: Thu May 23, 2019 2:36 pm
by Tony Li
Glad I could help.