Moving Units

Status
Not open for further replies.
setUnitX and Y do not take pathing into consideration. They also do not interrupt myUnit's current order. These scripts are excellent when you want to make a gravitation well-like ability that is pulling units inside and those units can try to "outrun" the force and run away.

setUnitPosition takes pathing into consideration, so unit may not be moved to the exact spot you want if there is already something else there. It also cancels current order
 
Status
Not open for further replies.
Back
Top