Reply to Re: What's the best way to run a script every time a save is loaded?
If you don't have an account, just leave the password field blank.
Wait a minute.
So I'm doing some testing with debug() to see what order arm(), disarm() etc run in, and I notice main.c runs on load_game(), which makes sense actually. Looks promising, but surely there's a catch...
One quick test later and main.c seems perfectly capable of spawning scripts upon loading a game. It would require some extra test to keep it from running on the title screen too, but that should be simple enough.
It can't really be that easy, can it?
So I'm doing some testing with debug() to see what order arm(), disarm() etc run in, and I notice main.c runs on load_game(), which makes sense actually. Looks promising, but surely there's a catch...
One quick test later and main.c seems perfectly capable of spawning scripts upon loading a game. It would require some extra test to keep it from running on the title screen too, but that should be simple enough.
It can't really be that easy, can it?