• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[AI] Help with AI

Status
Not open for further replies.
Level 3
Joined
Aug 12, 2008
Messages
26
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