add_montage_slot
Add an empty slot animation track to a UAnimMontage by slot name, with undo and save; if the slot already exists, report it without modifying the montage.
Instructions
Add an empty slot animation track with the given slot name to a UAnimMontage in an undo transaction and save it; an existing slot of that name is a success with added=false, already_existed=true and saved=false, and the montage is neither modified nor saved. Returns slot_count, the slots list and present. Fill it with add_montage_segment; inverse: remove_montage_slot. A failed save makes success false, with saved=false and save_error.
Returns: { montage_path, slot_name, slot_count, slots, present, already_existed, added, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot_name | Yes | Name of the slot track to add (e.g. 'UpperBody'). | |
| montage_path | Yes | Full asset path of the montage (e.g. '/Game/MyGame/AM_Example'). |