nabbig2
New Member
- Reaction score
- 43
I have this trigger when a research is complete.
Now, I made the footmen just for testing, and it creates the footmen. But why does it not kill all of my Dryad 2's? I am sure it is a Dryad 2, placed on my map, and for some reason it is not killing it. Any help will be appreciated.
Code:
Dryad Part 1
Events
Unit - A unit Finishes research
Conditions
(Owner of (Researching unit)) Equal to Player 1 (Red)
(Current research level of Dryad Adept Training for Player 1 (Red)) Equal to 1
(Researched tech-type) Equal to Dryad Adept Training
Actions
Unit - Create 1 Footman for Player 1 (Red) at (Center of Region 006 <gen>) facing Default building facing degrees
Unit Group - Pick every unit in (Units in (Entire map) matching (((Unit-type of (Picked unit)) Equal to Dryad 2) and ((Owner of (Picked unit)) Equal to Player 1 (Red)))) and do (Actions)
Loop - Actions
Unit - Kill (Picked unit)
Now, I made the footmen just for testing, and it creates the footmen. But why does it not kill all of my Dryad 2's? I am sure it is a Dryad 2, placed on my map, and for some reason it is not killing it. Any help will be appreciated.