• 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.

Problem with AI

Status
Not open for further replies.
Level 9
Joined
Apr 19, 2011
Messages
447
Hi.

I want to make a simple AI for a campaign, but I found that the AI has a annoying behaviour... I was exploring the map with one of my units, and then suddenly an enemy's attack group slayed my unit. However, the enemy could easily send the attack force straight to my camp.
I don't know why it didn't attacked my camp.
How can I configure this AI? I want ALL of his attack waves straight to my camp, I don't want him to go around the map killing my units, only main camp and expansions.

Regards
 
Level 3
Joined
May 4, 2012
Messages
25
Try to set the priorities of targets if you're using the AI Editor, or remove the priorities that you don't want the AI to attack, I had problems with the AI Editor, and recently I switched to the JASS based AI, it takes time, but you'll hit two birds with one stone, learning JASS scripts, and creating a better AI.
 
Level 9
Joined
Apr 19, 2011
Messages
447
About that AI System you advise me to use... Can I configure the AI to attack only with certain units, and to produce custom units?
I mean, the AI I need is for a custom-race campaign level. Can that AI System work with custom races? Also, I want the AI to attack with very specific attack forces. It won't ve nice if in the first level of a campaign the AI starts attacking with all the potential of the race.

Regards
 
Status
Not open for further replies.
Top