Question about lower priority in conditional aborts

ffbh

New member
copied from the doc:
Behavior trees can be organized from more important tasks to least important. If a more important Conditional task changes status then can issue an abort that will stop the lower priority tasks from running.
1. How can I know if a task is more important than another?
2. I saw there is a method public virtual float GetPriority() => 0.0f in Task.cs, can I change this value to make a task more important?
3. And would it be possible that I can see in the editor that a conditional task is being reevaluated?
 
Last edited:
I saw there is a method public virtual float GetPriority() => 0.0f in Task.cs, can I change this value to make a task more important?
No, that's specific for the Priority Selector task.

A task is more important if it is to the left of another task. Behavior trees execute in depth first search order so the leftmost task has the highest priority.
 
Top