stage_spawn
Creates a creature from a template at point, in the area of the creature you control.
A template is the game’s creature resource, not a kind’s name: creatures gives each creature’s template, and resources with type utc and a word finds more (for example wolf, ogre_default, hurlock_epic_archer).
The game places the creature at the nearest spot it can stand. moved says how far from point that was; a point inside a wall may put it in the next room. The creature finishes setting up over the next few frames: wait_for eluvian.creature.ready from cursor, then read its health with creature. With group, it joins that group at once, and the answer says whether it is hostileToParty.
Arguments
| Name | Type | Required | What |
|---|---|---|---|
template | string | yes | The creature’s template. |
point | any | yes | Where to create it: {x, y, z} or [x, y, z]. |
facingDegrees | number | The way it looks, as creature reads it: 0 along -y, -90 along +x, 90 along -x, 180 along +y. Default 0. | |
group | integer | The group to put it in, as stage_group does. |
Call it as stage_spawn over MCP, or POST /api/tool/stage_spawn with the arguments as JSON.