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
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!