The thing is, stopping the task (Move to) is a pain.
In the first case: (Decorators without abort self option)
Decorators don’t work until the task fails or reaches the goal…
So in this case they are not useful to stop the task.
In the second case: (Decorators with abort self option)
Decorator aborts task continually. The bot has not a continuous movement.
I don’t want this either… it doesn’t seem natural.
Neither of the two behaviors above are useful.
I simply want to abort the task immediately when the variable is not set.
What is the trick to do it well?
Thank you so much!!
I use a btservice to update stop move or not,use a blackboard decorator to stop moveto node,and use forcesuccess decorator to force stopmove node success,so the following nodes can be executed.And don’t forget to call stopmove so the AIMoveto Task (back in the moveto node)will stop.