I managed to add a melee attack to the pawn in ShooterGame. I can kill enemies with it but the kill count doesn’t take in consideration the mele kills! The kills count only sees the kills a player make with guns but not the melee. Any suggestions?
Look at AShooterGameMode and it’s subclasses. If you handle the melee kill through the existing functions, it should add to the score. Are you killing the character through AShooterCharacter::Die?
Thank you for your reply. I’m not writing any code. In blueprint I added a melee hit that deal damage. The enemies take the damage and they die but it doesn’t register them in the kill score!
Never mind. I had to connect the controller to Event Instigator in the Apply Damage node.