Reply to Re: A stupid Question...
If you don't have an account, just leave the password field blank.
Put this in a script and attach the script to a sprite. The script will do the rest:
//locks screen, just attach script to any sprite(not a monster)
void main(void)
{
sp_nodraw(¤t_sprite, 1);
int &numberenemies = 0;
wait(10);
if (get_sprite_with_this_brain(9, ¤t_sprite) > 0)
{
&numberenemies = 1;
}
if (get_sprite_with_this_brain(10, ¤t_sprite) > 0)
{
&numberenemies = 1;
}
if (&numberenemies == 0)
{
return;
}
screenlock(1);
mainloop:
wait(500);
if (get_sprite_with_this_brain(9, ¤t_sprite) == 0)
{
if (get_sprite_with_this_brain(10, ¤t_sprite) == 0)
{
screenlock(0);
playsound(43, 22050,0,0,0);
return;
}
}
screenlock(1);
goto mainloop;
}
//locks screen, just attach script to any sprite(not a monster)
void main(void)
{
sp_nodraw(¤t_sprite, 1);
int &numberenemies = 0;
wait(10);
if (get_sprite_with_this_brain(9, ¤t_sprite) > 0)
{
&numberenemies = 1;
}
if (get_sprite_with_this_brain(10, ¤t_sprite) > 0)
{
&numberenemies = 1;
}
if (&numberenemies == 0)
{
return;
}
screenlock(1);
mainloop:
wait(500);
if (get_sprite_with_this_brain(9, ¤t_sprite) == 0)
{
if (get_sprite_with_this_brain(10, ¤t_sprite) == 0)
{
screenlock(0);
playsound(43, 22050,0,0,0);
return;
}
}
screenlock(1);
goto mainloop;
}