Trigger:
- trigger
- Events
- Time - Every 0.10 seconds of game time
- Conditions
- Actions
- Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Your Unit)) and do (Actions)
- Loop - Actions
- Unit Group - Pick every unit in (Units within 200.00 of (Position of (Picked unit))) and do (Actions)
- Loop - Actions
- Unit - Kill (Picked unit)
This leaks.
Good trigger DualPlayer, you could also add the condition Ball is alive.
Well still better to have that condition if it dies since you don't know if it don't. Even if a unit dies it stays in the map and units around the place where the ball died will still die.
But yeah you only need it if the ball can die.