Is there a reason a unit which has locust cant be killed by this trigger? Because first i tested with locust it didnt die, then i tested without and then it work as intended :SUse the event - Specific unit event. For the unit, click select a unit and select your boss(considering your boss is already placed on the map and not created by triggers). For the event, use 'dies'.
In the actions, select Unit Group - Pick every unit in unit group and do action. The unit group will be all units in playable map area matching (unit type of matching unit is footman). And use Kill Picked Unit as the action.
Then add another action which disables your trigger which spawns the footmen.
You should end up something like this:
Trigger:
- Events
- Unit - Boss dies
- Conditions
- None
- Actions
- Unit Group - Pick every unit in (Units in (playable map area) matching (unit-type of matching unit is footman)) and do Kill (Picked Unit)
- Trigger - Disable FootmanSpawn trigger
Yes, locusted units can't be picked with that group actions...
It can only be picked if you use "Unit Of Type" or "Unit Of Player"...