Hey,
I have been using an asset pack named Easy Main Menu, which has an integrated save system, where you can make multiple saves or quick saves. Currently, the system seems to be saving only the player's location. Therefore, if the player dies, or if I go to the main menu and come back, there does not seem to be any reset of the quests. For example, when I go to main menu and come back to the beginning of the game, the NPC's will act as if I have completed their quests.
How may I make sure that the quests are reset when I go tot he main menu, and how can I integrate DS's features for saving other characters and quests into EMM?
Thank you.
Integration with Easy Main Menu
Re: Integration with Easy Main Menu
Hi,
I'm familiar with Easy Main Menu. You'll want to configure it to save an additional string with its save data:
When loading the game, give that string back to the Dialogue System:
When starting a new game, reset the database to its initial state:
If you need more details, let me know. I'll load up a project with EMM and identify where the changes need to be made.
I'm familiar with Easy Main Menu. You'll want to configure it to save an additional string with its save data:
Code: Select all
string dialogueSystemData = PersistentDataManager.GetSaveData();
Code: Select all
PersistentDataManager.ApplySaveData(dialogueSystemData);
Code: Select all
DialogueManager.ResetDatabase(DatabaseResetOptions.RevertToDefault);