I was having a lot of trouble programming an AI for Dota 2, and then I came up with this algorithm later.
On a scale of 0 - 100, get the desire for the bot to do a certain action. (Harrass hero, push lane, get last hits/denies, avoid towers)
Which ever has the most desire will be performed.
Based off of that desire, scan the enviornment and make the best decision to complete it.
Sorry, you need to Log In to post a reply to this thread.