Wandering isn't aborting by lower priorrity tasks

tailevi

New member
Hi.
I've created a tree that will act on haveing objects within its range the tree works as expected until it reaches the Wandering task.
As the tree reaches the wandering task its seems as it never reevaluates other sequences even if they are under low priority.
What could I change or add to the tree to make it abort even in the middle of wandering when an enemy enters the range of my agent?

There's a picture of the tree and the agent current situation at the same moment for easier reference.

Thank you.
 

Attachments

  • BehaviorScreenshot.png
    856.4 KB · Views: 10
  • enemys.PNG
    enemys.PNG
    259.4 KB · Views: 5
It doesn't look like the lower branches have any conditional tasks so that's why it doesn't reevaluate.
 
Thanks very much for the help Justin! :)
I changed all the tasks I needed to take priority to inherit from Conditionals instead from Actions as they ware before and the problem was solved.
keep up the great work!
 
Top