Save/Load data not always working
Hello,
I'm having troubles in saving or loading data. In my first game I've been able to save the best score, but for some reason it wasn't keeping the data about the tutorial being done or not (resulting in having the tutorial all the times).
Now I'm working on another game and I can save the tutorial boolean attribute, but not the best score.
Is it because I load them in the same actor? What can it be?
Comments
can you post a screenshot of the rules you have setup for saving/loading the attributes that arent working?
make sure you are typing your save/load attributes directly into the box (i.e. don't click on the 'e' expression editor button when you type). I think that may be a possible issue you're having
oh wait, you mean the "key" or the actual attribute I'm trying to load/save? Or both?
PS: I don't have the project here at work now. Will post later today, thanks
the key, so let's say your key is "highscore" you should type that text directly into the behavior boxes for save/load as opposed to typing it into the expression editor
I was pretty sure I wrote the keys without getting into the expression editor, but to be sure I deleted them and readded the behaviors and it seems to be working!
Thanks!!!
@Wonder Maru awesome, glad it worked!