unit aim order problems

Status
Not open for further replies.
Level 12
Joined
Jul 17, 2013
Messages
544
ok so in my map enemy ai units siege castle. enemy ai units spawn in region a and are ordered to move to region b (where is ladder which would telleport them on a custom made wall which is made of walkable dooad). i want also players to be able to train cavalary and stop ai from siegning the city. but my problem is if i change function order last created unit to attack move to region b then those units will get stuck near walls and try to aim units which are at walls. they wont want to go on ladder region.however they will attack player cavalary which comes to them. if i use function move then they wont atack cavalary :( however will go insta on ladder. ok so guys i hope you understant me i want ai units to go on a ladder place without getting stopped near walls, however i would also like them to atack cavalary which is near them and not ignore.
 
Level 45
Joined
Feb 27, 2007
Messages
5,578
Make another region far enough from the wall that the units don't acquire targets on the wall before they get there (but is close to the wall ladder). Order units to attack-move to this region. When they enter that region, then order them to move to the ladder region.
 
Level 4
Joined
Jan 18, 2019
Messages
71
You could also try triggering the units to adjust their acquisition range and set them, temporarily, to zero until they have gone into the ladder area

Edit: or better, you could give them the cargo ability (peon burrow), and order them to move up the ladder area, and then take it away. Just make sure That you have flee turned off for them.
 
Status
Not open for further replies.
Top