- Joined
- Aug 3, 2004
- Messages
- 2,891
Event: | Unit - A unit Dies |
Cond: | Boolean - TriggeringUnit != Hero |
Action: | Unit - Remove TriggeringUnit from the game |
When you set the unit groups, you don't check if the matching unit is alive. When the priests die from their timed life, they are still counted in the setgroup
So you need to set the group to Matching unit is Alive AND OR Unittype of matching unit is Footman/Priest.
Here's a shitty way of doing it:
https://dl.dropboxusercontent.com/u/7315285/Mapping/Warcraft%20III/AI%20Test.w3x