issue order targetting point; tell it to attack the position of the unit you want to attack.
You will have to update the position as the unit runs though; because it is running to a point... not the unit. if the enemy moves; your guy will still run to the point he was at when the order was issued. Just update the position every second or something; should work.
There is prolly a better way than this to do it also; this is just my first thought.
How can I issue an order to move to a specific unit while engaging all hostiles on the way there?
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
@Bilxor: Go
issue order targetting point; tell it to attack the position of the unit you want to attack.
You will have to update the position as the unit runs though; because it is running to a point... not the unit. if the enemy moves; your guy will still run to the point he was at when the order was issued. Just update the position every second or something; should work.
There is prolly a better way than this to do it also; this is just my first thought.
Skype: [email protected] Current Project: Custom Hero Arena! US: battlenet:://starcraft/map/1/263274 EU: battlenet:://starcraft/map/2/186418
The order you are looking for is called "scan-move". No need to do something complicated here ;)