So i'm trying to make a boss level on my zombie game and the way i have the spawning of the zombies laid out at the minute is that they all work on a timer E.G. you fight for 60 seconds, break for 30. However with the addition of a boss, this method no longer works as i do not wish to assign only X amount of time to kill the boss in because if you dont kill it in that period of time then other things are gonna start coming and its gonna be messy. I assume i can use a list but im looking for the code that i can place in an actor to do something if that list's length is 0
Something along the lines of
if("list of bosses in world".length > 0)
{
timer pause
}
Is there something along the lines of this in greenfoot?
Thanks :)
