On Respawn At Graveyard
Description
Fires when the dying player respawns at a graveyard — i.e. the Death Control graveyard selector matched a graveyard for this death and the player was teleported there on respawn.
If no graveyard matched (or no graveyards are configured), this trigger does not fire and vanilla respawn behavior is used.
Variables
| Variable | Type | Description |
|---|---|---|
graveyard |
string | The id of the graveyard the player respawned at. |
Examples
Send a chat message and play a bell sound on every graveyard respawn:
graveyard_respawn_feedback:
Skills:
- sound{s=block.bell.use} @self ~onRespawnAtGraveyard
- message{m="<gray>You wake up at <yellow><skill.var.graveyard></yellow>..."} @self ~onRespawnAtGraveyard
Run different effects depending on which graveyard matched:
- skill{s=DesertOutpostArrival} @self ~onRespawnAtGraveyard ?strEquals{a=<skill.var.graveyard>;b=DesertOutpost}
Aliases
- onGraveyardRespawn