29 posts Czech Republic joined 2005-08-19
#1 2005-11-10
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.
230 posts Finland joined 2004-10-30
#2 2005-11-10
Im not sure if i understood, but how about
event- Unit enters region
138 posts Seattle joined 2005-08-05
#3 2005-11-10
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.
29 posts Czech Republic joined 2005-08-19
#4 2005-11-11
I know both these methods, but none solves my problem.
OK, this is unsolvable, I will try to find another way
138 posts Seattle joined 2005-08-05
#5 2005-11-12
I don't see why using a region doesn't work. Just what are you trying to do anyway?
277 posts trust me.... im there. joined 2005-09-17
#6 2005-11-12
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...