On Waystone Respawn
Description
Fires when the dying player respawns at a waystone — i.e. the player had a bound respawn waystone that was discovered, Respawnable: true, and passed all of its TeleportConditions: at death.
If no waystone matched, MythicRPG falls through to the graveyard selector and the ~onRespawnAtGraveyard trigger fires instead.
Variables
| Variable | Type | Description |
|---|---|---|
waystone |
string | The id of the waystone respawned at. |
Examples
Welcome-back message and sound when respawning at your bound waystone:
WaystoneRespawnFeedback:
Skills:
- sound{s=block.respawn_anchor.set_spawn} @self ~onWaystoneRespawn
- message{m="<gray>You wake up at <yellow>%mythic_waystone_name_<skill.var.waystone>%<gray>..."} @self ~onWaystoneRespawn
Aliases
- onWaystoneRespawn