Stage Set Load
stage_set_loadLoad or unload a scene's load set to hide or restore its meshes, shadows, and people; unloaded sets show ghost boxes and persist across reloads via world.json.
Instructions
Unload a load set (loaded=False) or load it again (loaded=True, the default). Unloaded: its meshes are not drawn, cast no shadow, and at the next load are never compiled or uploaded (on an open page, what only the set used is freed on the GPU now); the people in it stop and neither play, follow nor rest; a ghost box around each member and a label with the set's name stand in its place. Loaded: it comes back a piece at a time. Saved in world.json unloaded, so it holds across reloads; an open page changes now (page command load_set) and replies with what it hid or showed ({name, items, persons, meshes, tris, freed}). Emits: set_unloaded / set_loaded {name, items, persons, meshes, tris}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| scene | Yes | ||
| loaded | No | ||
| scenes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |