How can i make death?

i made a simple game (open world template) and if the player’s health hits 0 its just zero. is there any simple death scripts out there? im just starting out

3 Likes

as everything depends.
What dou you want to happen when the health hits 0?
respawn on a random location?
being a ghost unit for some time frame?
being kicked from the server…
there are many options how to handle a death.

2 Likes

I recommend you look at the death match template to see how it’s handled there.
It uses the ‘when unit attribute reaches 0’ trigger.


2 Likes


If you want to make death without losing all items, You could do this.

2 Likes

I’ve tried this, not working