How to stop NPC AI from walking around when interacting with it (using Ai behaviour tree)

Hey,

Not easy to debug without having the full script at hand (for instance, when is the initial blackboard key “isTalking” set to True, for the AI to go in its Dialog task ?). It seems like your Task_isTalking and Task_MoveToSelf are immediately completing as soon as they start. What you want instead is for the task to keep going until everything has been finished.

And yes i would use the Stop Movement Immediately.

Also you may want to set an abort method to the Blackboard check “isTalking” on the right branch. So it stops any task it was currently doing.