• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[AI] AI retreat

Status
Not open for further replies.
Level 1
Joined
Nov 8, 2004
Messages
3
Hi,

My AI retreats a few second after I send a troop of his units with a
Code:
"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?

Thanx in advance!
 
Level 2
Joined
Apr 13, 2004
Messages
29
If it is a computer player slot and you are running an AI script, then you can use Ignore Guard Position on the units so he does not order them back.
 
Level 6
Joined
Jun 16, 2004
Messages
237
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.
 
Status
Not open for further replies.
Top