This problem’s been persecuting me for a while.
In C++, I can know where the player kills another one.
Shooter is a FirstPersonCharacter and the code is from a Weapon class.
Now, I set the Shooter’s LastPlayerKilled variable to the Character that was killed.
I’d like to print on the screen (HUD, UMGs, whatever) the string You killed PlayerName
Obviously, the string should disappear after a couple of seconds and re-appear anytime the player kills someone.
I’ve experienced many issues doing that, as you can see here, in the last 3 questions (https://answers.unrealengine.com/users/64490/gedamial.html)
Any tip? I need help.
I already tried to take a look at ShooterGame’s code, but it’s full of useless stuff.