Table and Attributes

KaiWenKaiWen Member, PRO Posts: 93
edited June 2012 in Working with GS (Mac)
Could you guys please share some examples of the following?

Reading and Writing values to a table.
Reading and Writing values to an attribute.

Will an attribute hold its value when the game is shutdown? I'm trying to save game options that the user can change that effect game play.

Thanks for information shared.

Regards,
Kai

Best Answers

  • EatingMyHatEatingMyHat Posts: 1,246
    Accepted Answer
    Both are covered in the cookbook and tshirtbooth videos.

    If you do not explicitly save the attribute/table (and load them when you restart) the values you changed will not be saved and it will revert to the original value when you startup. The save and load behaviors are fairly simple.
  • The_Gamesalad_GuruThe_Gamesalad_Guru Posts: 9,922
    Accepted Answer
    Search for tshirtbooth on youtube and you'll find a bunch of videos on tables on his page

Answers

  • KaiWenKaiWen Member, PRO Posts: 93
    Thanks @EatingMyHat

    I tried to scour the forum for information on this subject before posting my question. When I looked in the cookbook for information all I found were definitions for the terms. I'll give it another look.

    Regards,
    K
  • KaiWenKaiWen Member, PRO Posts: 93
    Thanks guys!! I found the video.

    :-)

Sign In or Register to comment.