Field NPC
Field cell-object reference. Type tag: npc. The key words
MUST, MUST NOT, and MAY are
used as in RFC 2119. See the Cell Objects index
and the Field Stage Lifecycle for how
objects are spawned and persisted.
Config schema
Fields authored on this object in the stage JSON:
| Field | Type | Default | Note |
|---|---|---|---|
npc_id | string | — | selects which NPC model to spawn |
npc_name | string | — | display name in dialog |
dialog | array | — | dialog lines spoken on interact |
animation | string | — | idle / scripted animation to play |
Spawn behavior
A placed NPC, model chosen by npc_id — so the model varies. Sarisa is shown here as an example.
Persisted state
—
Interactions
The player talks to the NPC to play its dialog. Animations are driven by the animation field.
Notes
The model varies by npc_id; the viewer shows one example NPC.