toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
how to save an attribute?
diegocs
Member
Posts:
531
November 2010
edited November -1
in
Working with GS (Mac)
i have an attribute which is the difficulty attribute, that when i select hard thiss attribute changes to 2, medium=1 and easy=0, but how do i save it for the next time i play?
Comments
BarkBarkCo
Member
Posts:
1,400
November 2010
Use this to store the new attribute in memory any time you change in it the game.
http://gamesalad.com/wiki/behaviors_reference:save_attribute
Use this somewhere at the beginning of your game to pull the stored value from memory.
http://gamesalad.com/wiki/behaviors_reference:load_attribute
Sign In
or
Register
to comment.
Comments
Use this somewhere at the beginning of your game to pull the stored value from memory.
http://gamesalad.com/wiki/behaviors_reference:load_attribute