Page 1 of 1
Save Dialogue System Only
Posted: Sun Jul 21, 2024 9:06 pm
by StateOfArtGameStudio
Hello,
I have my own save system implemented. I want to use Dialogue System only for dialogues and quest tracking.
Is there built-in option to save dialogue database with modified variables? The save system described in manual seems to be coupled hard with player object (and it doesn't load as expected in my project).
Please help!
Re: Save Dialogue System Only
Posted: Sun Jul 21, 2024 9:43 pm
by Tony Li
Hi,
The
save system isn't coupled with anything. You can add components to a player GameObject if you want to save certain data on the player, but that's entirely optional.
Anyway, to save only the Dialogue System's data, please see
Database-Only Save.
If there are other things you want to save, such as GameObject positions, component enabled/disabled states, animator states, etc., set up the save system and manually call the method to get its save data as a string that you can record in your own save system. (
more info)
Re: Save Dialogue System Only
Posted: Sun Jul 21, 2024 9:51 pm
by StateOfArtGameStudio
Sorry, You are right. I was following online tutorial, where it was solved with SaveSystem component.
When I was using LoadFromSlot, my other scripts were failing. For example they did not spawn player.
Anyway I found DialogueSystemSaver and customized it.
Thanks for quick reply!
Re: Save Dialogue System Only
Posted: Sun Jul 21, 2024 10:01 pm
by Tony Li
Glad to help!