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

CastStartedEvent

const CastStartedEvent: EventHandle<CastStartedRecord, Reliable, Entity>

On the caster each time the cast command starts a cast, on the world that decides outcomes alone: the ability and its target. A cast a game starts by adding CastingTrait itself has no start, only its end. For a player’s cast its cause is the player’s cast command, while the player is still in the world, so the player’s page reads the request id from it, as it reads CastRefusedEvent’s; a cast whose sender left before it started carries no cause. Emitted before an instant cast’s release, so it comes before SpellLandedEvent. Every page that holds the caster and the devtools hear it.