Melee animation loops indefinitely despite boolean that triggers it at tick being turned off

anonymous_user_40cf7dcb
Mon, 08 Feb 2021 19:03:46 +0000
Character & Animation

Hello,

I’m starting my first project in UE4 and I’m going crazy - I have to be missing something very simple here. I’ve assigned my melee attack to the left mouse button and coded the animation into a custom event as shown below. Every event tick the system checks if the boolean “Attacking Melee” is true - if it is the custom event executes. When the player clicks the left mouse that boolean should become true for half a second then become false again. However, when I run the game, as soon as I hit the attack button once, the animation loops indefinitely until I interrupt it by jumping. What could be missing from this? Every solution I’ve come across seems to be exactly what I have here.

Any help is greatly appreciated!

2 posts - 1 participant