Avoid saving dialogue status with Save to slot

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Error412
Posts: 23
Joined: Sat Feb 05, 2022 4:52 am

Avoid saving dialogue status with Save to slot

Post by Error412 »

Hi Tony, In my game the player progresses through levels and save occur only at the start of a new level (scene).
The only information I want to store is the last level it was reached (scene) and some of the dialogue manager variables values.
I'm using the save to slot functionality as advised in your manual and it works great, but a bit of unnecessary data get saved because clearly the system is much more powerful. Not a big deal, but is there any setting to configure so that it saves only scene and dialogue manager variables?

Thank you!
User avatar
Tony Li
Posts: 21722
Joined: Thu Jul 18, 2013 1:27 pm

Re: Avoid saving dialogue status with Save to slot

Post by Tony Li »

Hi,

Make sure the only "Saver" script you're using is DialogueSystemSaver. Otherwise, other savers such as PositionSaver, ActiveSaver, AnimatorSaver, etc., will also save their data to the save slot.

Untick all checkboxes in the Dialogue Manager's Persistent Data Settings, and set the Record Persistent Data On dropdown to "No GameObjects".
Error412
Posts: 23
Joined: Sat Feb 05, 2022 4:52 am

Re: Avoid saving dialogue status with Save to slot

Post by Error412 »

Thanks Tony, helpful as always.
User avatar
Tony Li
Posts: 21722
Joined: Thu Jul 18, 2013 1:27 pm

Re: Avoid saving dialogue status with Save to slot

Post by Tony Li »

Glad to help!
Post Reply