Save System for Item not working!

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
harshad.asawale
Posts: 12
Joined: Wed Jan 30, 2019 1:02 pm

Save System for Item not working!

Post 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);
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save System for Item not working!

Post 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.
harshad.asawale
Posts: 12
Joined: Wed Jan 30, 2019 1:02 pm

Re: Save System for Item not working!

Post by harshad.asawale »

Again, saves the day !! Thank you :)
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save System for Item not working!

Post by Tony Li »

Glad I could help.
Post Reply