How can i order a unit to attack a region and move to the closest point of that region. If i add 2 parallel rectangles. How do i make a unit in region a to go to the closest point in region B. I can only find how to attack a random point and center of region and such. How do i issue such an order?
How can i order a unit to attack a region and move to the closest point of that region. If i add 2 parallel rectangles. How do i make a unit in region a to go to the closest point in region B. I can only find how to attack a random point and center of region and such. How do i issue such an order?
You gotta do math........
you have to calculate the closest point in region B from the position of your unit.....
using X,Y coordinates
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
To post a comment, please login or register a new account.
How can i order a unit to attack a region and move to the closest point of that region. If i add 2 parallel rectangles. How do i make a unit in region a to go to the closest point in region B. I can only find how to attack a random point and center of region and such. How do i issue such an order?
Trying offer simple solution:
Define attack target first (point), add waypoint (point) and send attack wave.
You gotta do math........
you have to calculate the closest point in region B from the position of your unit.....
using X,Y coordinates