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

spawnNpc

spawnNpc(world, spawn): Entity

Spawns an NPC: a character a routine drives, under the server’s authority, with its routines’ machine beside it. The caller adds its body and destroys it.

Parameter Type
world World
spawn NpcSpawn

Entity