highscore!
skipnice
Member, PRO Posts: 68
how do i save attributes? and to what?
its to save my highscore so that it loads when you play the game next. but when i go into save attribute i dont know what to save it too?
Comments
If you want to save an attribute simply put the "save attribute" behaviour at the point when u want 2 save it. (Normally after a new score for example) then use the "load behaviour" to reload said attribute when you want to "remember" said attribute. (You would normally place this on your menu screen or splash
when you do save attribute, is has a second section that says "as" does that matter? or will it save it regardless?
This important so you can load. So make it something you will remember. Let me explain a little bit you save an attribute with a key. Then put in the start scene in a random actor some load behaviors. In theses you put the key you made and the attribute. Long story short yes
The "Save Attribute" action can be a little unreliable at times. You would be much better of saving and loading your attributes to and from a table. There is plenty of information on how to do this. Do a search on "Save attributes to tables" or similar and you will find it.
Universal Binary Template - Universal Binary Template Instructions Rev 4 (Short) - Custom Score Display Template