The Dink Network

Reply to Re: Need Some Help for my First DMOD

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:
 
 
July 10th 2004, 11:09 PM
farmer.gif
void die( void )
{
int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
{
//added this bracket, so that script would not terminate when it got to the next closing bracket
editor_type(&hold, 2);
editor_seq(&hold, 645);
editor_frame(&hold, 1);
&save_x = sp_x(&current_sprite, -1);
&save_y = sp_y(&current_sprite, -1);
}
//removed the bracket here because it wasn't necessary
stopmidi(2);
playmidi("12.mid");
freeze(1);
freeze(&current_sprite);
say_stop("`5 Bla bla bla",&current_sprite);
say_stop(" bla bla bla",1);
unfreeze(1);
unfreeze(&current_sprite);
}

there. it should work just fine now. at least, i can't see anything else from looking at it