Hello!
Can anyone help with the Code for when health is 0 I will change level to a Game Over level.
Thanks!
Hello!
Can anyone help with the Code for when health is 0 I will change level to a Game Over level.
Thanks!
Thanks. Can you tell me how you created your Event AnyDamage.
Right click in the graph and type it in.
UE4 has a whole damage system ready to go. You’re not using it at the moment. Try this:
This you way you do not need to cast.
If you wanted to do it the hard way:
Up to you which method to choose. But why reinvent the wheel? If you go the originally suggested Apply / Receive damage route, you get to the more interesting parts:
And then you also can start using Damage Type classes.
Thank you so much! Now it works