How to add AI in a DOTA Template?

Mirana_POTM

New Member
Reaction score
0
I'm really confused at this moment. How do I add an AI that attacks with only one hero at a DOTA Template?
 

Fire-Wolf

S.P.D Smoke Pot Daily, Legalize It!
Reaction score
54
Your going to need to trigger it youself, and if you dont understand how to make an AI I suggest you give up that thought.
 

Romek

Super Moderator
Reaction score
963
You could periodically order every computer-controlled hero to attack a random enemy hero.
Though that'd be Artificial Stupidity more than anything.

Though, if you're skilled enough, you could expand that slightly.
Make the AI retreat if it's low on health, cast spells when it has mana, etc.
Then continue doing so, taking certain things into account. Maybe attack even if it's low on health, assuming it has windwalk and mana, etc.
I believe this is how even the most complex AIs are created. (Start simple, and keep adding things onto it)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top