Reply to Re: Summoning
If you don't have an account, just leave the password field blank.
Okay members of the DN one last thing, really...Everything is working fine, but... I have some lines that need to happen for the screenlock enemy to unlock the screen...Why not just copy from an example script? That's no good, it needs to exclude our summon. I know that I could make another script and spawn it..but I'm ending up with too many scripts as it is, here are the lines that need to play in the die procedure of the enemy:
note: &locks is initted in main procedure
//exclude summoned monster
&locks = get_sprite_with_this_brain(9, &summon);
//subtract one for the monster that just died
&locks -= 1;
if (&locks == 0)
{
//no more brain 9 monsters here, lets unlock the screen
screenlock(0);
playsound(43, 22050,0,0,0);
}
note: &locks is initted in main procedure
//exclude summoned monster
&locks = get_sprite_with_this_brain(9, &summon);
//subtract one for the monster that just died
&locks -= 1;
if (&locks == 0)
{
//no more brain 9 monsters here, lets unlock the screen
screenlock(0);
playsound(43, 22050,0,0,0);
}