Melee attack without combo

Nik

New member
Hi,

I have only one melee attack animation and I want to use it without combo. The problem is if I click attack button multiple times before attack animation finishes it's getting stuck in attack state. But if I wait attack animation to finish and then click button again it works correctly.

I disabled Allow Attack Combos, and I've added correct events to attack animation("OnAnimatorItemUse", "OnAnimatorItemUseComplete"). What additional steps do I need to take into consideration to make it work only for single attack?

Thanks!
 
I debugged code and found out that I needed to set correct Use Rate. Now it works correctly. If it's advisable approach please confirm and I Mark it as Solved.

Thanks for great Asset!
 
I found out that I also needed to specify Stop Use Ability Delay in Melee Component, in my case I set it to zero.
 
Top