Table and Attributes
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
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
-
EatingMyHat Posts: 1,246
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_Guru Posts: 9,922
Search for tshirtbooth on youtube and you'll find a bunch of videos on tables on his page
Answers
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
:-)