set_subtitle_cue_timing
Update a subtitle cue's start offset, duration, or duration type in an Unreal Engine asset without altering other fields.
Instructions
Updates the timing fields on an existing subtitle cue. Loads the USubtitleAssetUserData, applies any combination of start_offset / duration / duration_type to Subtitles[cue_index], and saves. Fields not provided are left untouched.
Returns: { asset_path: string, cue_index: int, success: bool, applied_start_offset: bool, applied_duration: bool, applied_duration_type: bool, start_offset: float, duration: float, duration_type: string, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Optional new Duration (seconds). | |
| cue_index | Yes | Zero-based index into the Subtitles array (required). | |
| asset_path | Yes | Content path of the USubtitleAssetUserData asset. | |
| start_offset | No | Optional new StartOffset (seconds). | |
| duration_type | No | Optional new SubtitleDurationType ("use_sound_duration" or "use_duration_property"). |