Respawn
Kind: Modifier · Add Component: Character Modules > Gameplay > Respawn
Brings the character back at the last checkpoint. Checkpoints set how much a mistake costs.
Brings a dead character back at the last checkpoint. Checkpoints decide how much a mistake costs.
Inspector
▼Respawn
CharacterCharacter (Character Motor)
Spawn PointNone
Delay1
Origin. Checkpoints from arcade games on; Dark Souls (2011) made the bonfire a resting place.
How it works
Changes no state: it only reports or reacts.
Puts a character that died back where it started, or at spawnPoint, with full health, after delay seconds of simulation.
Combine it
- Needs: Health. The Inspector warns while one is missing.
- Used by the presets: Arena Shooter, Competitive Shooter, Surf, Retro Platformer, Modern Platformer, Traversal Adventure, Action RPG.
Properties
| Property | Description | Range | Default |
|---|---|---|---|
| Character | The character this module belongs to. Drag its Character Motor here. | None | |
| Spawn Point | Where to come back. Empty: where the character was when it started. | None | |
| Delay | Seconds between dying and coming back. | 0 or more | 1 |