So i literally scanned the entire internet for a tutorial (video or written) for how to make my third person character getting shot by an enemy and how to deal damage. There are various tuts on melee combat - though appear to be lacking too, but that’s not what i need. Maybe someone could outline broadly how to do this?
Working example unreal engine combat AI and gameplayajnksnfja - YouTube
Relevant BS
https://answers.unrealengine.com/questions/30954/damage-to-player.html
https://answers.unrealengine.com/questions/104128/how-to-make-ai-damage-player.html
As i understand, basically you would need to cast line traces then call events such as Apply Damage and On Hit and substract health variables and create a death event which in turn calls the death animation and destroys an object after a while. Though, it is unclear if this would be better done with projectiles or if those are needed too.
Any suggestions or results would be great Thanks