Page 1 of 1

Avoid saving dialogue status with Save to slot

Posted: Thu Oct 13, 2022 5:46 am
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!

Re: Avoid saving dialogue status with Save to slot

Posted: Thu Oct 13, 2022 7:50 am
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".

Re: Avoid saving dialogue status with Save to slot

Posted: Thu Oct 13, 2022 11:26 am
by Error412
Thanks Tony, helpful as always.

Re: Avoid saving dialogue status with Save to slot

Posted: Thu Oct 13, 2022 11:40 am
by Tony Li
Glad to help!