I just started dabbling with battle AIs but I am having a bit of a hard times.
I am trying to get an AI to hunt a target but if there's no target or the target is too far, randomly play an ability to spawn traps.
This is what I had so far:
Unfortunately the AI never seems to clear the target even if its distance is greater than 10 units.
The move AI is set to Hunt with a base detection range of 8.
I also added to the spawn trap ability the Game State condition In Battle=Inactive hoping it would have used the ability outside battles.
Any help is more than welcome
  • Battle AI and Move AI are not the same. The battle AI's targets are not automatically the move AI's targets. There are move AI nodes available for the battle AI, e.g. Check Move AI Target node to use the current target of the move AI.
    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.