Conditional Evaluator

klamore74

New member
I'm trying simple test behaviors but I don't understand the concept around conditional evaluator.

1596529446179.png


When I perform behaviors, the condition has only been evaluated once, despite I flag "Reevaluate".

What I'm missing?
 

Justin

Administrator
Staff member
The conditional evaluator has failed so it will then stop. When you're just getting started I would just use conditional aborts as those should cover the vast number of use cases.
 

klamore74

New member
I'm successfully implementing the same behaviors with conditional aborts and it works fine.

But, I'm trying to understand this decorator but I'm not sure to understand the meaning of " Reevaluate" if its stops.
 

Justin

Administrator
Staff member
The Conditional Evaluator will keep reevaluating the task as long as it is active. If it is no longer active then it will no longer reevaluate. The task will stop when a conditional task reevaluates to failure.

If you have it working with conditional aborts I recommend keeping that approach - they are a lot more flexible than the evaluator.
 
Top