link_montage_sections
Link an Unreal montage section to the next by setting its NextSectionName, since add_montage_section does not connect sections. Pass an empty or None value to clear the link.
Instructions
Chain one montage section to the next by setting its NextSectionName. add_montage_section creates sections but never links them; this writes FCompositeSection::NextSectionName so playback flows section -> next. Pass next_section_name "" or "None" to clear the link. Done in an undo transaction, then saved. Idempotent: the link the section already has is a success with changed=false and saved=false, and the montage is neither modified nor saved. A failed save makes success false, with saved=false and save_error.
Returns: { montage_path, section_name, next_section_name, linked, changed, section_count, sections, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| montage_path | Yes | Full asset path of the montage (e.g. '/Game/MyGame/AM_Example'). | |
| section_name | Yes | Name of the existing section whose link to set. | |
| next_section_name | Yes | Name of the existing section to play next (or "" / "None" to clear). |