The Dink Network

Reply to Re: Crazy Old Tim Plays all the DMODs of 2004

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:
 
 
September 21st 2014, 09:43 PM
custom_robj.png
Robj
Jester He/Him Australia
You feed the madness, and it feeds on you. 
"The only way to get pretty much anything but the standard enemy death stuff working via the die procedure, is to immediately have it spawn to another script."

Or you can just put this at the start of the die procedure and then run everything as normal:

 
sp_brain(&current_sprite, 0);
//seq and frame for dead sprite, in this case it's a knight.
 sp_seq(&current_sprite, 295);
 sp_frame(&current_sprite, 1);


then just kill_this_task(); after everything else if you still want the script die.