Reply to Re: magicman's rant about scripting techniques
If you don't have an account, just leave the password field blank.
Hah, no. I've had most of that rant on my PC since a week after I released Persistent Loot. I added the run_script_by_number() stuff today, the rest is all from way back when.
The point of run_script_by_number() is extending the engine. Ish. You know how it's built-in that void hit( void ) is run when a sprite is hit, and how void talk( void ) is run when you talk to it? run_script_by_number() will make a script run void burn( void ) when its sprite is being hit by a fireball, or you can make void bomb( void ) run when a bomb explodes nearby. This all through nothing but DinkC scripting.
The point of run_script_by_number() is extending the engine. Ish. You know how it's built-in that void hit( void ) is run when a sprite is hit, and how void talk( void ) is run when you talk to it? run_script_by_number() will make a script run void burn( void ) when its sprite is being hit by a fireball, or you can make void bomb( void ) run when a bomb explodes nearby. This all through nothing but DinkC scripting.