When you check the enemy flag "has a ring leader" and you kill the first enemy in the list, all the other enemies die as well, or they should die. But if you check the option on a screen with Shooter enemies, those shooter enemies won't go away.
So is this intended behaviour or a bug? If it's intended behaviour then I wonder why? I hope there's some way to make shooter enemies dissapear other than warping to another screen. 😛
It's probably because shooter enemies don't really count as enemies. I think they're based off of the statute shooters. This is a good thing, I believe, because you don't have to check if they are dead in order to trigger Enemies->Secrets. They're invunlerable, ya know.
It is intentional behavior.
Damn.
Oh well, ok then. There goes my ideas then... 😛 ...but it's not the end of the world.
Your idea is fine. Do it with scripts! Artifically inflate your ring leader enemy's health a little (10 or so) and then, when the ring leader has less than 10 health, remove all the enemies from the screen (set their hp to zero, move em off screen).
*bump*
And yeah, enemies->secrets is the way to go.