Hello Everyone!
Encountered a problem that BB Decorator act like “On value change” than “on Result change”
Just for testing, I built on clean project, Simple BTree with selector and BlackBoard float decorator “Greater than 0.0” notify observer “On Result change”, abort “lower priority” followed by custom task (just printstring value of bb entry) that always return “Fail”, and lower priority task (just “wait”). When I change value of Bboard entry in >0 range (result of decorator check not change - pass) its trigger abort lower priority task.
Is it bug, or I just do not understand “on result change”
I run into this problem in main project and its break my logic. Thank four your Time! video how it acts in real time
U.E. version 5.51
Hi, I think there might be a misunderstanding about what Notify Observer does (I still find it confusing myself). From what I see, it will always reevaluate and abort tasks as necessary when the value changes regardless of Notify Observer. What the Notify Observer affects, is whether the task itself should restart. So for example, if you would put a decorator on a sequence with Notify Observer to On Value Change, then whenever the value changes the sequence would restart itself, even if the Result of the decorator was never False. Whereas if Notify Observer would be On Result Change, then the sequence would not restart itself.
Thank you, this explains this behavior. So Observer aborts options (none, self, lower ,both) it is just “powers” of this decorator in this context. When it happened, and in what conditions is not what i can control,
Bizarre))