Gameplay: Cameras, transitions and screen effects
On this page
An authored camera is a reusable room view. A blend moves the view between cameras. An orbit or shake adds continuing or timed motion. Screen fades and transitions work on the presented image and need not change rooms.
ActivateCamera()#
Activate / Blend to Camera
Activate an authored camera and optionally blend to it, waiting when Wait is enabled.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Camera cameraId | Choose an authored camera ID. | Blank |
| Blend Seconds (-1 = camera default) duration | Time in seconds for this action. Read its timing note before assuming it waits. Range: -1.0 to 60.0. | -1.0 |
| Wait for Blend wait | Whether this action should wait for its own effect to finish. | true |
Timing. Waits when Wait is on.
await ActivateCamera({"cameraId": "wide", "duration": 1, "wait": true})In use. Blend to the lamp close-up over 1 second. A negative duration uses the camera's configured blend timing; 0 makes a cut. If a following action must begin after arrival, keep Wait enabled.
SetCameraBehavior()#
Set Advanced Camera Behavior
Change the selected camera's advanced behavior, targets, smoothing, framing, path and bounds settings.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Camera (empty = active) cameraId | Choose an authored camera ID. May be blank. | Blank |
| Enable Advanced Camera enabled | Explicit on/off state for the feature or response. | false |
| Camera Behavior mode | Choose: fixed, follow, group, framed, path. | "fixed" |
