Warcraft III resources & community, 2003–2006 · archived

Trigger Help

3 posts
#1

Trigger Help

Im trying to make it so a unit will be nuking the closest 4 things, and im trying to figure out how to calculate the distance between the distance of the two things to find the closest 4 things.

I have been looking for a fair while and haven't been able to find something that could do this though...

Any help would be appreciated, thanks.
#2
to calculate the distance between the distance of the two things

????

anyway use standard function for distance between points.
#3
There is a function in the WEU "get next nearest unit". Never used it, so dont know how that works, but you can give it a try.