Conditional Abort and Send Event Task

dudleyhk

New member
I have a situation where I'm sending an event to find a path. Inside the EventFindPath() I'm setting the variable hasPath (behaviour tree var) to True which when re-evaluated by the Sequence, a Conditional Abort will stop the event being send a second time. However, I've tried both the Self and Lower Priority types and yet the Send Event Task is fired a second time. Is there something I'm missing?


The red box is the event which is being fired a second time?

View attachment 1535
 
Last edited:

Justin

Administrator
Staff member
It doesn't look like your image went through. If you enabling logging on the behavior tree you can get a better idea at what it is doing, but if the conditional abort reevaluates to true then the set of child tasks will rerun again.
 
Top