Ai System Help

bryanEX1993

New Member
Reaction score
0
Hi, i am making a game where soldiers fight against each other. However for the computer AI i am wondering how to make the AI know where the player's units are and order it to attack it, even if there is fog and is 10000 distance away. For example, i am standing at point A and a unit is at point B, which is 10000 distance away. I am wondering how to make that unit walk to me and attack me.
 

Moridin

Snow Leopard
Reaction score
144
Using triggers, there is an Action:

Unit - Order (Unit) to Attack Unit

Similarily there's an attack move command if you want that. This ignores line of sight etc and the order is given no matter where both units are.
 
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