The Dink Network

Reply to Re: Papyrus Adventures (The): Development Thread [NEW]!

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:
 
 
March 21st 2010, 01:24 PM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
Just kill the sprite when you want it to disappear. Like this:

//Kill the sprite
sp_hard(&current_sprite, 1);
draw_hard_map(&current_sprite);
sp_active(&current_sprite, 0);
Playsound(10,22050,0,0,0);
int &hold = sp_editor_num(&current_sprite);
if (&hold != 0)
{
//Make the sprite stay dead for ever.
editor_type(&hold, 1);
}