Download

How to apply additional animations properly?

Hello. I’m trying to add animation of evasion. So, I created interface and implemented it to my actor component and anim bp.
изображение_2022-01-09_230550
I created function in my component:


so I can get evade variable in my anim bp:
изображение_2022-01-09_231041
Now, if I press “evade” my character will play animation of evasion one and a half times. If i’ll disable event in anim bp (third picture) it will work fine, but I want to make it with animation blueprint. I can’t just delete “play montage” node, because even if I will use delay node with length of animation, my character will freeze in last frames of animation. How to implement animation only with animation blueprint and without “play montage” and "delay"s hardcoding?