B
batmanai15
Guest
hey all
Just had a quick question on saving global variables to an ini file.
I have some global variables that every play session they will be a different value. So during a session if there is a save I need to capture the value of those variables for the load game to work properly.
Let say the global variables is called:
Global.from_room
When saving that to an ini file would I write that as:
ini_write_real("savegame", "variable”, from_room);
Or
ini_write_real("savegame", "variable", global.from_room);
Thanks
Just had a quick question on saving global variables to an ini file.
I have some global variables that every play session they will be a different value. So during a session if there is a save I need to capture the value of those variables for the load game to work properly.
Let say the global variables is called:
Global.from_room
When saving that to an ini file would I write that as:
ini_write_real("savegame", "variable”, from_room);
Or
ini_write_real("savegame", "variable", global.from_room);
Thanks