Player death when HP is 0 & death screen + animation

I don’t know blueprints that well I’m still a noob when it comes to them I primarily do level design so excuse me if I’m a noob :stuck_out_tongue:

Right now I have a health system setup here are some screenshots - http://imgur.com/a/8u8eI (current health being 50 for the moment and the max health 100.)
And I also have a simple respawn system, here are those screenshots - http://imgur.com/a/w9nFE

How would I go about adding in a feature where when my health hits 0 from fall damage or enemy damage ect…(basically if my player dies) it would play a death animation then proceed to a death screen saying something like “You died” with a continue or quit option.

Any help with this would be much appreciated, I’ve tried looking this up but couldn’t find much info on it :frowning:

I recommend you check out this 3-part Youtube tutorial from Alan Noon Blueprint Creating a 2D Side-Scroller | 01 | Live Training | Unreal Engine - YouTube. It’s a Paper 2D series, but he covers character states and animations. He covers killing a character.

As for the death screen. You could probably either use a simple text box with whatever else you wanted or you could have the game load a new “level.” Since you specifically asked about setting up a new level. Simply right click within your content browser main screen (where all the contents get displayed) and click create basic asset > level. Then you can open up a new level, and you’re given a clean slate to work with.

So first you would want to have your character die in his blueprints. Then run something from the death like the function “Open Level.”

Ok I’ll definitely check out that series, I’m sure I’ll learn something from it thanks for the reply!

That tutorial does cover utilizing the “dead” flipbook, but no destruction or re-spawning of character, which is where I am stuck.

Hey matriculation I’d your stuck on respawn still there is a ue4 tutorial page and video for it under the twin stick shooter videos. I think it’s number 13 in the list, otherwise they have a page with the blueprints for respawn in the search system above here.

Sorry got auto corrected at the beginining post was for matticus

If you have not found out yet, I think these three tutorials can help you.
Death blueprint : Quick Tutorial - "Death" - YouTube
making death animation : 3ds Max TUTORIAL - Character Death Animation - YouTube
Using death animation :Ue4/3ds Max TUTORIAL - Character Creation/Animations Export Part 2 - YouTube (12 min)