create_volume
Spawn a labeled Blocking, KillZ, PainCausing, PostProcess, or Trigger volume with a real cube brush in the editor world as one undo step; the level is not saved.
Instructions
Spawn a BlockingVolume, KillZVolume, PainCausingVolume, PostProcessVolume or TriggerVolume in the editor world with a real cube brush, labelled volume_name, as one undo step; the level is not saved. Returns actor_name, actor_path, actor_class and brush_built. For other AVolume classes or box extents use spawn_box_volume.
Returns: { volume_name, volume_type, actor_name, actor_path, actor_class, brush_built, success }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Edge length in cm of the cube brush (the full side, not a half-extent); omitted or not positive gives 200. | |
| location | No | World location [x, y, z] in cm of the volume center (default [0, 0, 0]). | |
| volume_name | Yes | Editor label for the new actor; its object name is generated and returned as actor_name. | |
| volume_type | No | Volume class, case-insensitive: "BlockingVolume" (default), "KillZVolume", "PainCausingVolume", "PostProcessVolume" or "TriggerVolume"; any other value spawns a BlockingVolume. |