SetCameraTargets()
| Option key / field | Meaning and input | Default |
|---|---|---|
| Respect Room Camera Bounds respectBounds | Apply the room camera bounds to this camera behavior. | true |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SetCameraBehavior({"cameraId": "wide", "enabled": false, "mode": "fixed"})In use. Enable advanced behavior and choose Follow for a tracking shot. Changing the settings is different from activating that camera. Path mode needs usable path points; a group view needs valid targets. Keep Minimum Distance no greater than Maximum Distance.
Set Camera Targets
Replace the main, group and look-at targets used by an advanced camera.
| Option key / field | Meaning and input | Default |
|---|---|---|
| Camera (empty = active) cameraId | Choose an authored camera ID. May be blank. | Blank |
| Follow Target targetId | Choose a scene entity ID. May be blank. | "player" |
| Additional Target IDs (comma separated) targetIds | Text. | Blank |
| Look At Target (optional) lookAtId | Choose a scene entity ID. May be blank. | Blank |
Timing. Waits for the runtime routine to return; no further completion wait is promised by this schema.
await SetCameraTargets({"cameraId": "wide", "targetId": "archive_door", "targetIds": ""})In use. Use the player as the follow target and Elias as the look-at target for a conversation. Supply IDs in the format the selected field expects. This does not create the targets or move either actor.
