• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

AI decision question

Status
Not open for further replies.

sakura[sins]

S

sakura[sins]

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
 
EH thanks for the reply but it doesn't answer the question lol
 
Status
Not open for further replies.
Back
Top