Hello there.
I am using an animation montage to manage the attack animations for a UE4 Character. I would like left click to trigger a basic attack animation, and right click to trigger a stabbing animation. I have a variable in the player BP for both the left and right click, set by their respective events. These variables are referenced in the Anim BP for my player. If left click is true, I get the current section, then set the next section to the standard attack section. If right click is true, I do the same, except that I set the next section to the stab section. I then play the animation montage.
Whether I press the left or right mouse button, the standard attack anim is played once, which is the first section of the montage. I have also tried using the ‘jump to section’ node instead of the ‘set next section’ node, but to no avail. I also have a blendspace between an idle animation, a walking animation, and a running animation. The same happens even if I disconnect the blendspace, so the blendspace isn’t the issue.
Screenshots: