The Dink Network

Reply to Re: Brain stuff

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:
 
 
February 23rd 2008, 02:51 PM
dinkdead.gif
Look in en-pill1 for the braincheck, which is this:
if (get_sprite_with_this_brain(9, &current_sprite) == 0)
{
//no more brain 9 monsters here, lets unlock the screen
screenlock(0);
playsound(43, 22050,0,0,0);
}
in the die procedure.

It isn't seeing the sprite it's attached to because the second bit tells it a sprite to ignore - get_sprite_with_this_brain(9, <ignore this one> );

Edit: Your enemies are brain 9, right?
If the sprite with the script is out of the way somewhere, try sp_nodraw() instead of sp_active().