I've hit an interesting problem.
I'm using a checkpoint system which involves using the 'save' and 'load' system actions. Basically, whenever you hit the checkpoint, the game saves, and whenever you die, the game loads.
I'm trying to have a variable called 'RespawnTime' which records the amount of time since the last respawn. As such, it should set to zero on death.
The problem is, global variables are reset to their previous value after a 'load' action, meaning it seems like there's no way to save any data or do anything when loading!
Here's an example capx to show what I mean. If you hit the checkpoint then die, you respawn correctly. However, it seems as if the 'Set RespawnTime to 0' action in event 11 didn't do anything!
Am I foolishly forgetting something, or is this indeed the interesting conundrum I think it to be?