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

reapDead

reapDead(authority): void

Downs each entity that reached zero health since the last reap and emits DiedEvent on it, so every system after this one and every page reads its death with its traits still on it. Removes each entity that died at the last reap, healed since or not, but a player’s character and one with a respawn, which stay down for their respawn or the game to get up. What behaviours.systems.reapDead runs. It stays in the core, since it reads and clears the lethal hit’s credit, which a game that set it would forge.

Parameter Type
authority Authority

void