rename_montage_section
Rename a UAnimMontage composite section by zero-based index inside an undo transaction and save it. Returns old/new names, section list, and save status.
Instructions
Rename an existing FCompositeSection on a UAnimMontage by zero-based section_index, in an undo transaction, and save it. The name the section already has (FName match, case ignored) is a success with applied=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_index, old_name, new_name, section_count, sections, applied, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | Yes | New FName for the section. | |
| montage_path | Yes | Full asset path of the montage (e.g. '/Game/MyGame/AM_Example'). | |
| section_index | Yes | Zero-based index into CompositeSections (use get_montage_info first to list). |