add_montage_section
Adds a named section to a UAnimMontage at an absolute start time, or moves an existing section of that name. Saves changes in an undo transaction.
Instructions
Add a composite section to a UAnimMontage at an absolute start time, or move the existing section of that name there; it does not link sections (use link_montage_sections). Saves the montage in an undo transaction and returns start_time, section_count, sections, already_existed and added (true only for a new section). A section of that name already at that start time 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, start_time, section_count, sections, already_existed, added, changed, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_time | No | Absolute section start time in seconds (default 0) | |
| montage_path | Yes | Full asset path of the montage (e.g. '/Game/MyGame/AM_Example'). | |
| section_name | Yes | Name of the section to add (e.g. 'Loop'). |