Advanced AI

Regon

New Member
Reaction score
0
Hello helper community im working on a map and the basis is theres a building you have to protect with heroes im still trying to make all the heroes but lately I have been working on the AI I want to make it so waves can spawn in now, I KNOW how to do that but when they spawn they stand still otherwards they dont move I want to make it so they will attack the hero If there are any alive and if not they will go for the building that needs protected
 

TheLegend

New Member
Reaction score
10
add the units to a player (Neutral Hostile or player 12) that you make an enemy and when they are created pick every unit owned by player 12/NH and order attack what ever you want. If you want them to have options then make an if then else command and under if set integer number of units of type hero > 1 then the attack else move wherever you want them to move
 
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