I’m not very experienced in the coding of unreal engine. In my current project the player character is supposed to use LMB and RMB to swing a sword 2 different ways, a light and heavy attack. I followed some tutorials and I’m pretty sure that they gave me conflicting ways to go about it and I jumbled my code. The AI enemy can deal damage at a set point in the animation and kill the player. But the player never connects damage to the AI enemy.
Can someone please tell me how to fix this so the player will harm an enemy during a point in the sword animation? Thank you for your time.
AI damage taking system
Player Attack + Damage system
Player Animation Blueprint Attack Code