The Dink Network

Reply to Try this.........

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:
 
 
August 30th 2003, 10:16 AM
pq_frog.gif
Ric
Peasant They/Them Canada
 
int &hold = sp_editor_num(&current_sprite);
if (&hold != 0
editor_type(&hold, 6);
//This is the typical sprite kill used in the original dink. It is at the end of a creatures die procedure. When drawing a screen, the engine checks each sprite editor number to see if that sprite needs to be there.
use editor_type(&hold, 6); to let the sprite come back after 5 minutes, or
editor_type(&hold, 1); to kill the sprite completely.
useing sprite_active() is good for killing a sprite if a condition is met. eg:
void main ()
{
if (&story > 5)
{
sprite_active(&current_sprite,0);
}
//other main stuff here.
}