Download

2D characters incorrectly applying or recieving damage.

Hi,

I’ve got a problem with my ApplyDamage and AnyDamage system. There are 2 character blueprints: AllyBP (knight) and EnemyBP (ninja). On EventHit they are supposed to fight each other. The problem is every time one of them hits, only the character that was compiled last recieves the damage, from both the enemy and himself. If I compile the knight, every time he or the ninja hit, the ninja loses health and vice versa. I’ve attached the blueprints for EnemyBP’s Event Hit and Event AnyDamage, It’s the same in AllyBP except for variable names and the tag.

I’m completly new to making games and have no idea what to do, so if anyone will be able to help, thank you in advance.