Warcraft III resources & community, 2003–2006 · archived

Event - Unit Reaches a point

6 posts
#1

Event - Unit Reaches a point

Does it exist something like this?

I need to detect an event, when unit's position is equal to a position of destructible. Thx in advance.
#2
Im not sure if i understood, but how about

event- Unit enters region
#3
What you're describing would probably be impossible, but you can measure its X and Y coordinates.

X of (position of unit) = value
Y of (position of unit) = value

Wouldn't count on it working, since every medium square on the grid is 128 units.
#4
I know both these methods, but none solves my problem.

OK, this is unsolvable, I will try to find another way :(
#5
I don't see why using a region doesn't work. Just what are you trying to do anyway?
#6
i would suggest creating a (maybe flying) unit created on the doodad. then u can use function unit-unit within range. i would recommend that within range cz the EXACT same position you wont get...