B
Bernard Polman
Guest
I have a simple object (not persistent) that loads a variable on Create event with scr_loadgame(). I need my variable to be saved when the game ends or players enters a new room (I have scr_savegame() for that). The variable is global.
If I save the game in Destroy event of that object, will the Destroy event be executed when the player enters a new room or closes the game?
If I save the game in Destroy event of that object, will the Destroy event be executed when the player enters a new room or closes the game?