Save/Load data not always working

Wonder MaruWonder Maru Member, PRO Posts: 98

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

  • supafly129supafly129 Member Posts: 454

    can you post a screenshot of the rules you have setup for saving/loading the attributes that arent working?

  • supafly129supafly129 Member Posts: 454

    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

  • Wonder MaruWonder Maru Member, PRO Posts: 98

    @supafly129 said:
    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

  • supafly129supafly129 Member Posts: 454

    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

  • Wonder MaruWonder Maru Member, PRO Posts: 98

    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!!!

  • supafly129supafly129 Member Posts: 454

    @Wonder Maru awesome, glad it worked! :)

Sign In or Register to comment.