The Dink Network

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.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
February 13th 2012, 02:53 PM
wizardg.gif
Paul
Peasant He/Him United States
 
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?