EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

ActorSpawnedEvent

A new actor entered the world.

Signature

{ actor: ActorRef, cause: SpawnCause, definition: ActorDefinitionId, kind: "actor_spawned" }

Fields

NameTypeMeaning
actorActorRefActing actor (human- or AI-controlled).
Length: 1…256; Pattern: ^[\s\S]+$
causeSpawnCauseWhy the actor was spawned.
definitionActorDefinitionIdDefinition the actor instantiates, resolved when the event was created.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: character|npc|enemy|animal|structure
kind"actor_spawned"Discriminant