Root motion animations and Ai Behaviour Tree driven

Hi there!

I want to create an AI Character with Behaviour trees and I want to override some methos from PathFollowComponent to give values to booleans to control the animation. I’ve read that I have to override OnPathFinished but it says it’s deprecated (see C++/Ai - root motion based controller - AI - Unreal Engine Forums). I read that I can override UCharacterMovementComponent::PerformMovement. Can anyone enlighten me a bit more? Thank you very much!