Search found 8 matches
- Tue Jan 23, 2024 8:52 am
- Forum: Dialogue System for Unity
- Topic: Reset current conversation
- Replies: 5
- Views: 48628
Re: Reset current conversation
Just to be sure we are on the same page: I have a save/loading system in my game. And I am using string s = PersistentDataManager.GetSaveData(); // Dialogue system data saveData.dialogueSystemData = s; and PersistentDataManager.ApplySaveData(saveData.dialogueSystemData); for saving and loading the v...
- Mon Jan 22, 2024 3:02 am
- Forum: Dialogue System for Unity
- Topic: Reset current conversation
- Replies: 5
- Views: 48628
Re: Reset current conversation
I don't have any object named ConversationStateSaver attached anywhere as far as I can see.
- Thu Jan 11, 2024 11:51 am
- Forum: Dialogue System for Unity
- Topic: Reset current conversation
- Replies: 5
- Views: 48628
Reset current conversation
Hi, I have a problem where if a player exits the conversation early for example by going to settings and loading to the main menu. Then if the player starts the game again, the next time they encounter the dialogue system it continues from the previous spot. How can I either register as if the conve...
- Fri Jun 16, 2023 3:53 am
- Forum: Dialogue System for Unity
- Topic: Reset specific variable groups
- Replies: 3
- Views: 602
Re: Reset specific variable groups
OK, so I would have to manually put in the string or number I want to reset to. There is no GetInitialValue or something like that I can use? EDIT: I think I found it thanks for the help. foreach (var variable in DialogueManager.masterDatabase.variables) { if (variable.Name.StartsWith("rundata....
- Thu Jun 15, 2023 7:54 am
- Forum: Dialogue System for Unity
- Topic: Reset specific variable groups
- Replies: 3
- Views: 602
Reset specific variable groups
I know that we have the feature DialogueManager.ResetDatabase that resets the variables and quests to their initial values. Would it be possible to target specific groups of variables to be reset while keeping the values of other. I have some variables that change each run of my roguelike and others...
- Thu Jun 15, 2023 6:50 am
- Forum: Dialogue System for Unity
- Topic: Error when loading saveData
- Replies: 4
- Views: 631
Re: Error when loading saveData
Moving to start did the job, thank you so much for the quick response.
- Wed Jun 14, 2023 12:05 pm
- Forum: Dialogue System for Unity
- Topic: Error when loading saveData
- Replies: 4
- Views: 631
Re: Error when loading saveData
Oh that might be the issue, I am running the loading in awake, in the same scene as I have my "Dialogue system controller" object.
If my loading cannot happen in awake I have to change a few other things before I can test if it is enough to move the loading to start.
If my loading cannot happen in awake I have to change a few other things before I can test if it is enough to move the loading to start.
- Wed Jun 14, 2023 10:39 am
- Forum: Dialogue System for Unity
- Topic: Error when loading saveData
- Replies: 4
- Views: 631
Error when loading saveData
Hi I have my own data saving system, that very simply saves data into a file to read it later. I have used this save system before in released games. I implemented the save system for variables and quests for the dialogue system, but when I try to load it I get an error. Have I missudnerstood how to...