On Start, On End Sequence

Hello,

I am working with pathfinding AI. I try to control when it is enabled or disabled, so I disable it on every movement task OnEnd. I was trying to perform some interrupts to control my AI. Basically it shoud go home after certain maximum range was reached.

I noticed that my interupt first starts new task and only then runs OnEnd. How should I force to OnEnd to be run first, and only then start new node?

1722818121854.png
Cheers
Konrad
 
Back
Top