I am trying to track a players accuracy for an aim training map that I am working on. I want it to show shots hit/total shots fired and then give a percentage of shots hit but i have no idea on where to start with the code. And once the code works I want to show it on the players HUD. Any ideas on how I could do this?
I think I read somewhere that attaching an actor to your character could track shots, on bullet collisions. For the hit shots, i’m pretty sure there is a device which can tell you when a player was killed and by who, maybe it can also track damage events.
You could use invisible triggers, they trigger on damage, one trigger for the target, one behind the target