Hi, This is based on grid tutorial.

I have the simple move to target AI from tutorial on enemy. And few weird things are happening.
1) Sometimes enemy wont stop moving until he has exhausted all movement range points. So he will run from unit to unit.
2) He does not target the nearest enemy, I noticed this is not in Grid check settings, or am I missing something?
  • 1) Well, the battle AI will use the target(s) that you've found/defined in it for the actions. The battle AI for grid movement explained in the tutorial is pretty basic, as it just gets all enemies outside of the attack range of 1.

    2) Again, that's up to how you set up your battle AI. The steps before the actions are used to determine the target, which is stored in the found targets.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.