set_view_target
Set the runtime player camera to follow a specified actor during PIE or simulation, with optional blend time and player index. Use it to direct in-game camera views to actors found by label or path.
Instructions
Set the runtime player camera view target to an actor.
This is intended for PIE/simulation. Use focus_editor_camera for the editor viewport.
Args: actor: Actor label, object name, or full path returned by find_actor. blend_time: Camera blend duration in seconds. player_index: Local player/controller index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | Yes | ||
| blend_time | No | ||
| player_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |