Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

RespawningTrait

const RespawningTrait: Trait<{ respawnTick: number; seconds: number; }>

A downed entity waiting to come back: the whole wait and the tick it ends on. The step puts it on the entity as it goes down, and a page reads the seconds left with readRespawnRemainingSeconds to show the wait.