Hi, I have a linetrace which casts to the player and subtracts a value from its health variable, and at 0 I want the actor to be destroyed. How would I do this?
You can set the Actor to hidden and disable input then, well depends on what you want to do. You can spawn particles, play a sound cue, display some UI. When the player revives you can set him back to visible. Or you go back to menu. Destroying the player actor is rarely a good idea though.