Respawning differently?

Hello, I just wanted to get some help on why the respawning in the templates work, and if there is a different way to do them. My main question is why there is an attribute called “Respawn timer.” can anyone tell me what is going on?

When a unit dies, it’ll be destroyed, but
respawntimer is set to the maximal value. The attribute automatically decreases over time, and when it gets 0, it will start a trigger “when player attribute bcomes 0 or less”. It will recreate a unit for the player and that’s how the unit respawns.

yes (simple terms) when a unit dies it starts a timer then when the time reaches 0 the player will respawn.

1 Like