Behaviour tree

What do you mean “when it casts an animation”?

Hey there i want to stop my AI movement when it casts an animation ,while chasing me . I tried multiple combinations but nothing helped me , i do not know how to tackle this one.

i have settled its AI class blueprint that it should play a montage which has an animation and it should stop in its place when casting the animation

To stop BT from executing, you just need to get the “Brain Component” of your AI controller and execute “Stop Logic”.

Use “Start Logic” or “Restart Logic” to activate the BT again.

Example: run BT, after 3 seconds, stop it, play a montage and then start the BT again:

my AI casts every 6 seconds and i also want it to cast 2 attack animations also in which blueprint should i make changes