How to add AI(Artifact Intelligence)??

Status
Not open for further replies.
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).
 
There is no ability that is called AI.

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.
 
Status
Not open for further replies.
Back
Top