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!
Hi lembidi!
U wan't AI to play in your map to?
It's hard to make that.
Even IceFrog (Dota creator) don't doing that, becouse his map is good without them.
If you'll make your own map good enough the AI players wouldnt be useful at all (my opinion).
You have to programm it by yourself.
The easiest way would be a script based behaviour.
If unit has <15% hp --- go to fountain.
If unit has >1000 gold --- go to shop and when reached buy item.
If unit is attacked and has Windwalk --- use windwalk and run away.
If... If... If...
Computer players and neutral slots will automatically use most abilities in combat. The AI on these abilities is very limited thus they do not cast all abilities (like Death Pact) and might not use the abilities correctly (abilities with massivly changed targeting behaviour or abilities which are JASS enhanced).
Actual movement and stratergy logic has to be scripted using JASS (combinations of AI scripts and trigger scripts).
Be aware that good AI is impossible in more complex maps due to the inefficiencies of the JASS interpreter. Real advanced game AI generally has atleast the complex opperations implimented in native level code so can not be compared to.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.