So atm I have it so when the player walk's into a region just outside of the base all the enemies spawn at various points in that base. Now I want it so the boss (whole is in a open prison) spawns when all the other units are dead. But having a look i dont see anything like "units die in region" Only "unit dies" which can only be targeted to one unit.
So Ideally i'd like to set a region in the whole base, then when there are no enemy units within that region (or player 2 units) then boss (player 3) spawns. Any ideas?
unit dies is the event, now you have to decide what you want to do. count the living units in region (pick each unit in region and loop count the picked units) or if you know the number of units, you can simply:
So atm I have it so when the player walk's into a region just outside of the base all the enemies spawn at various points in that base. Now I want it so the boss (whole is in a open prison) spawns when all the other units are dead. But having a look i dont see anything like "units die in region" Only "unit dies" which can only be targeted to one unit.
So Ideally i'd like to set a region in the whole base, then when there are no enemy units within that region (or player 2 units) then boss (player 3) spawns. Any ideas?
Thanks
there are several ways to do this.
unit dies is the event, now you have to decide what you want to do. count the living units in region (pick each unit in region and loop count the picked units) or if you know the number of units, you can simply:
@b0ne123: Go
Gratz on the 1000th post!
On topic, if you don't a have set number of units you can just modify the variable for each unit spawned or set it to the random integer you picked.