Block and Parry

ridley1224

New member
I have been trying to get block and parry animations to work for a few days with no success. I've gone through the code and docs with no luck.

I'm using Behavior Designer for the enemy AI with the default "USE" values for the sword. I don't know how to debug the animations to make the parry animations trigger in my character.
 
I found the solution. By default, in the last parameter was set to Slot0ItemSubstateIndex in the Left Arm Layer->Shield layer in the Animator. Instead, it should be set to Slot1ItemSubstateIndex if the shield is in the left hand.

Since my player has only one animator audio state on the Shield script (0), and the enemy is using the sword with item ID (22), the Slot1ItemSubstateIndex values for each default parry animation should be...

22001000
22002000
22003000

Screen Shot 2019-12-22 at 1.41.15 PM.png

Screen Shot 2019-12-22 at 1.42.52 PM.png
 
Top