Warcraft III resources & community, 2003–2006 · archived

big trigger problem

2 posts
#1

big trigger problem

need help with a trigger...

trying to make a unit walk to a point then turn like left and then go that way..

the problem is: i make the unit walk like 1000.. when he comes to the point, he turns left and walks the rest..
like if hes walkt 600 befor he comes to the point he will walk 400the other way (
something like this icon way)
:idea: :arrow: :arrow: :arrow:
:!:
:!:
:!:
:!:
:!:
#2
If you want him to walk a total of 1000 units, you'll have to keep track of his starting point's X and Y coordinates and the coordinates of any points at which he makes a turn. Then you add them up.

You can also assign him to walk a certain distance by getting his current X and Y and ordering him to move to an offset of that point.