Animation Blueprint Help

I made a system where when i call the “attack function” it sets “is attacking” to true and ABP plays the “attack” animation, at the attack animation i made a notify at the end frame of animation that sets a boolean to true


and this booelan sets anim back to idle.
Its working for 1 time but because that i dont reset both of booleans it wont work for the second time. How could i manage to reset them?
image
image
image

The answer seems pretty straightforward to me if I’m not missing something here. You would only need one bool type variable to determine if the attack is still in action. You can just set that single variable to true / false once you trigger the attack and back to false / true once it’s done. Then you can plug it into the transition conditions, just remember to plug it to a “Not Bool” node before plugging it into one of the 2 transition conditions :blush:

Normally i was doing that actually but from the anim notify i could only cast to ABP
image
i dont really understand how casts works, what should i put here as object?

or i could cast to ABP from both notify and cannon BP but i dont want to that much Casts if there is a better way

I don’t think I understand. If you handle the montage in the character blueprint, you can just declare the variable there and cast it to your animation blueprint.