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

startCooldown

startCooldown(entity, cooldownStart): void

Starts a cooldown on entity under key. One already running under the key with longer left stays as it is, so a short cooldown never cuts a long one. Call it from a system, where the simulation has the say: a predicted system on a player’s character, whose page then starts it as the room does.

Parameter Type
entity Entity
cooldownStart CooldownStart

void