Warcraft III resources & community, 2003–2006 · archived
AI retreat
6 posts
imported_WaRhEaD
#1
AI retreat
Hi,
My AI retreats a few second after I send a troop of his units with a
"Unit - Order (Last created unit) to Attack-Move To (Center of Region 001 <gen>)"
order. I automatically create units for the comp, and send them away to the direction that I want. Unfortunally the AI sends them back to his base and keeps them there... Can I do something about this, something like stopping the AI from doing this?
Newly created units are automatically added to the defense group (around the defense captain). That is why the computer sends all new units to the base, or commands them to return if they get far away from there.
You need to assign the units to the attack group (in the AI script) or reissue the attack order once in a while. In the latter case, I think you need to use also "AI - Ignore Guard Position" on the units that the units wouldn't be heading towards the base every other second and then resuming attacking again.
imported_WaRhEaD
#4
Thanks!
That works too.
What I did in the wait for your good anwsers was to delete the AI start trigger in the melee initialisation... (That worked too for me)