how to restart after hitting 0 health

Hi laymax,
Need a bit more information. What are you trying to do? Respawn your character after death, restart the map or reinitialize your health?

restart the map

when my health is 0 i wanna restart the whole map

Hi Laymax,

Lots of ways to do this, but here is an easy implementation.In your game mode:

In your Character:

Thanks Laymax, If your question was answered please mark it as resolved, let me know if you are still having a problem. Thanks.

Use event tick with a <= node into a branch to check current hp against zero, when it reads true destroy the actor and execute the RestartLevel console command.

it doesnt restart the level, when i hit 0 in my health it doesnt do anything at all. just a reminder, im in unreal engine 4.17 if that changes anything