- Joined
- Sep 20, 2015
- Messages
- 385
Hello, i have a strange issue in my map. I need to count the units in a range of 128 from another unit.
I used this condition in a 0.15 loop trigger.
I don't know what to do, i searched online and modified all filed in OE and tired with different type of triggers it still behave like i said.
I made a video that is better that my explanation. SKIP IT TO 21 SECONDS
As you can see the fire should be counted when it's alive. Instead it is couned when dead.
The unit has locust and a negative hp regeneration.
The red number on the blood mage is the count for'' the units owned by player of type fireunit'' and that seems to work just fine.
thank you in advance for the help
I used this condition in a 0.15 loop trigger.
-
(Number of units in (Units within 50.00 of ((Position of (Picked unit)) offset by 128.00 towards 270.00 degrees) matching ((Unit-type of (Matching unit)) Uguale a FireUnit (Livello 1)))) Uguale a 0
I don't know what to do, i searched online and modified all filed in OE and tired with different type of triggers it still behave like i said.
I made a video that is better that my explanation. SKIP IT TO 21 SECONDS
As you can see the fire should be counted when it's alive. Instead it is couned when dead.
The unit has locust and a negative hp regeneration.
The red number on the blood mage is the count for'' the units owned by player of type fireunit'' and that seems to work just fine.
thank you in advance for the help
Last edited: