how can i make AI

Tinker

New Member
Reaction score
1
How can i make AI for my map? i saw a tutorial but it is for AoS maps, mine is a simple Hero Defense

I just want ai to pick hero, move a bit (because map is very lil) so it shoudnt be a big problem and want it to cast spells and buy items

is there a good tutorial?

ty in advice
 

KaerfNomekop

Swim, fishies. Swim through the veil of steel.
Reaction score
613
1). Picking heroes is easily done by creating a hero for the player and subtracting gold (if any).
2). Moving heroes around the map is easy too: ordering AI heroes to Attack-Move across the map does the trick.
3). Casting spells might be more complicated, depending on how the spells are used. AI can easily use offensive spells immediately after attacking, but other types of spells will need a lot of checks to determine the AI's current condition.
4). Item buying can also be triggered, but unless you're fine with all heroes buying the same items, you may need to do several checks to determine the AI's status.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top