Fire Animation Plays only Once

Hey! I am new to working with animations, my issue is that my animation only will play one time. Its a pistol firing animation and I want it to play when the player fires the pistol, currently it plays once whenever I first fire the pistol and I can’t seem to figure out any solution to reset the animation and have it play whenever the pistol fires.

The way I have it set up is like this in the Char BP:

Anim BP:

Fire to Idle:

Idle to Fire:

I am not quite sure what I am doing wrong since it fires once it sorta works right? So I guess the question is how to get this to properly reset, I tried a do once node with a reset on the end pin of set is firing pistol var in the character BP but that didn’t work, I tried resetting the timeline but I couldn’t make that work with the animation BP as it seems to only really work with timelines.

As always, any and all help is always appreciated! Thank you!

EDIT:

Also I forgot to mention I have also checked the “Always Reset on Entry” option on the Fire state in the state machine, but it didn’t make any difference.

Solution found!

Turns out all I had to do was set a delay at the same rate as the fire rate and then set the var back to false, works now though!

If anyone has a better solution than this let me know! :slight_smile:

1 Like