Save/Load Problem
Posted: Tue Sep 06, 2016 11:25 pm
Hi. I'm using the menu template, I'm having a problem when saving and loading.
So I have a gameobject that after the conversation, it will deactivate. No quest and variables are affected/touched
So this is the problem, I saved the game after conversing with that gameobject, so that gameobject will get deactivated. And then I tried to load the game, and when the game loads, the gameobject is active.
I tried using the persistent active data component, attached it to that gameobject, but still the gameobject remains active when the game is loaded.
I have an idea that when using persistent active data, you must have a quest that will indicate if the gameobject is active. Am I right?
My game is pretty much finished, I only have a problem with saving and loading
So I have a gameobject that after the conversation, it will deactivate. No quest and variables are affected/touched
So this is the problem, I saved the game after conversing with that gameobject, so that gameobject will get deactivated. And then I tried to load the game, and when the game loads, the gameobject is active.
I tried using the persistent active data component, attached it to that gameobject, but still the gameobject remains active when the game is loaded.
I have an idea that when using persistent active data, you must have a quest that will indicate if the gameobject is active. Am I right?
My game is pretty much finished, I only have a problem with saving and loading