• 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 decision question

Status
Not open for further replies.
Level 2
Joined
Nov 8, 2007
Messages
6
How does the AI know if they are at a disadvantage, if the enemy is vulnerable, etc?

If the AI is fighting another army of an assortment of units, how does the AI know how much power each enemy unit has(therefore then deciding if to fight or run)? Is it point value? Level? Any other information regarding AI decision making(particularly custom melee AI) would be greatly appreciated.

My issue right now is that the AI runs from everything. Every time a unit gets attacked, that single unit runs(I disabled this completely but it would be nice to have on with moderation). Often, the AI retreats in the dumbest of ways, even if the battle is even or favored.

Thank you for your time :D
 
Status
Not open for further replies.
Top