spawnNpc
spawnNpc(
writer,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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
Authority |
spawn |
NpcSpawn |
Returns
Section titled “Returns”Entity