I am currently working on an AI Behaviour Tree and currently stuck on a Task I created.
I want the AI to find an objective Move towards it and attack it, if the Ai destroys the objective
I want it to do a distance check and find the closest objective and repeat the action.
- I have a conditional Loop attached to the sequence that exits when all the objectives have been destroyed.
-The task i created is highly inconsitant one time it works then the other it fails
Here are some screen shots and a link to the Task Blueprint
Any help with making this efficient will be highly appriciated