[Trigger] all enemys die spawn item question

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
How do i make a trigger so that when ALL enemys in a room die, an item is spawned. Atm i can only really get iot to work for one specific enemy.
 
If you mean enemys as in units then that's not too complicated:

Unit - A unit dies
Pick all units in [region] and do action
If all units of type - Units owned by player 12 brown equal to not alive
Then Create 1 item at center of region
Else Do Nothing

This is assuming all the enemies are owned by player 12 or else you can add on the other enemies too.

I don't have WE on this computer and if you mean something else I can help you there too.
 
Status
Not open for further replies.
Back
Top