Reply to Re: Scripting help
If you don't have an account, just leave the password field blank.
Are &wid and &invplace defined as global variables in main.c? If not, you need to make sure you declare them as local variables, like this for your first script:
'int &wid' makes this a local variable that can only be accessed from this script.
void main( void ) { if (&story < 10) { int &wid = create_sprite(364, 218, 16, 411, 1); sp_speed(&wid, 1); sp_base_walk(&wid, 410); sp_script(&wid, "T1-B2.c"); } }
'int &wid' makes this a local variable that can only be accessed from this script.