Hey guys.
I would love to hear a way to kill locust units.
My problem is:
When i use a spell, about 72 locus units should be killed, in a kinda big aoe.
(The spell creates a MYDummy unit in region "Map Right" or "Map Left")
Ive tried with:
And yes, i know you cant pick a locust unit, but i've read some other topics inhere, which said if you picked by player, it should work.
How can i select the locust, and kill them?
(My plan Z is to create 72 units at every locust unit point, and kill them)
Help!
-Chris
I would love to hear a way to kill locust units.
My problem is:
When i use a spell, about 72 locus units should be killed, in a kinda big aoe.
(The spell creates a MYDummy unit in region "Map Right" or "Map Left")
Ive tried with:
Trigger:
- Car Crash 2
- Events
- Unit - A unit enters Map Right <gen>
- Conditions
- (Unit-type of (Entering unit)) Equal to MYDummy
- Actions
- Set MYGroup = (Units in Map Right <gen> owned by Player 11 (Dark Green))
- Unit Group - Pick every unit in MYGroup and do (Actions)
- Loop - Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Unit-type of (Picked unit)) Equal to MYUnit
- Then - Actions
- Unit - Kill (Picked unit)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Loop - Actions
- Custom script: call DestroyGroup(udg_MYGroup)
- Events
And yes, i know you cant pick a locust unit, but i've read some other topics inhere, which said if you picked by player, it should work.
How can i select the locust, and kill them?
(My plan Z is to create 72 units at every locust unit point, and kill them)
Help!
-Chris