Performing action after RestoreGame [SOLVED]

Started by Kinoko, Mon 14/03/2005 15:35:14

Previous topic - Next topic

Kinoko

In my game, when you save, you're taken to a new room, you choose to save, then are automatically brought back to the previous room (where the actual -saving- takes place). After this happens, I have a GlobalInt changed to make the game run properly.

I've just noticed the problem that when loading a saved game, how can I make sure this GlobalInt gets changed? Is there some way to let the game know it should do something AFTER a save slot has been restored?

Radiant

Sure. Check the docs for on_event (GAME_RESTORE).

Kinoko

Ah, thanks... I'd never noticed that before.

SMF spam blocked by CleanTalk