Hello.
I have a spell that moves an unit periodically to forward (with SetUnitPosition function).
But when the unit reaches the limits of the map (where is the "black area"), it continues moving.
How do i stop the unit when it reaches the "black area"?
Something like this:
??
Thanks, and "sorry for my bad english".
I have a spell that moves an unit periodically to forward (with SetUnitPosition function).
But when the unit reaches the limits of the map (where is the "black area"), it continues moving.
How do i stop the unit when it reaches the "black area"?
Something like this:
??
Thanks, and "sorry for my bad english".