I have a dummy unit with locust and a dummy ability called "DoorCloseOpenPrevention". I also have a trigger with a condition counting the number of units with that ability in a region, but it doesn't seem to consider units with locust.
Together, they're there purely to register that a gate has been killed, by being spawned onto the gate and then being checked whether it's there, but this doesn't work, because units with locust aren't counted, I think.
How can I check for (count) units with an ability in a region, if the unit has locust?
The condition is:
Together, they're there purely to register that a gate has been killed, by being spawned onto the gate and then being checked whether it's there, but this doesn't work, because units with locust aren't counted, I think.
How can I check for (count) units with an ability in a region, if the unit has locust?
The condition is:
Code:
(Number of units in (Units within TempReal2 of TempPoint2 matching ((Level of DoorCloseOpenPrevention for (Matching unit)) Equal to 1))) Equal to 0