building.set_wall_view
Overview
- Sets the wall view mode the in-game wall view toggle cycles through: view_all (full walls), view_outer (the middle step, AB1PlayerController::EB1WallViewMode::ViewOuter) or hide_all (walls lowered). It is a VIEW state, not an edit: not undoable and nothing is charged. Indoor wall view is turned off, as the keyboard toggle does.
Metadata
| Field | Value |
|---|---|
| Display | Set Wall View |
| Category | building |
| Access | ScriptCheat |
| Scope | B1Standalone |
| Tags | Experimental |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| mode | string | yes | — | view_all / view_outer / hide_all |
Returns
Returns a JSON object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
wall_mode | int | yes | Wall mode after the call (0 view_all, 1 view_outer, 2 hide_all) |
previous_wall_mode | int | yes | Wall mode before the call |
Usage
await inzoi.cli.execute('building.set_wall_view', {
mode: '',
});