• 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] Help with AI

Status
Not open for further replies.
Level 3
Joined
Aug 12, 2008
Messages
27
I am trying to make a map where the computers battle it out with the users being there to turn the battles. I was using the melee AI which works well, but it only works for orcs. Here are the results for melee AI for the units.

Orc: Orcs work, they build and get resources like normal
Human: Humans send 5 peasants to the gold mine, and just waste the rest of their gold making more peasants
Night Elves: Do nothing
Undead: They just send all 3 acolytes to the mine and old nothing

Help please?
If the answer includes making a whole new AI script/Triggers, can you make one for me? i dont know how to +rep for help :D
 
Level 8
Joined
Mar 12, 2008
Messages
437
Humans:
Make a condition checking if there are five units that have "mine" as their current order. If there are, cancel any peasant build orders that the Town Hall is issued.
NE:
If there are less than 5 wisps with "mine" as their current order, order the Tree of Life to train a wisp.
UD:
^ same as above
 
Status
Not open for further replies.
Top