Issue with AI Behavior tree

I am trying to add an animation to my behaviour tree that will play when the AI has just found and just lost the player. I have added it in like this:

The task is set up like this:

The function it is calling from the controller is this:


The function the controller is calling from the AI character is this:

The gameplay is that when it sees me, it just walks over to me, instead of running over. When I tried to debug it myself, it is blank under the category AI Behaviour Tree, until it gets close enough to trigger the attack animation

I managed to solve it. The delays were the wrong length of time. It was 4.66 seconds instead of 0.66.