set_montage_properties
Configure a UAnimMontage's blend modes, auto blend out, trigger time, sync group/slot, and root motion fields in one undoable save with input validation.
Instructions
Set only the supplied blend modes, auto blend out, trigger time, sync group/slot and deprecated root motion fields of a UAnimMontage in one undo step and save it; bad enum names, or no field, are refused before any change, and supplied values the montage already has are a success with changed=false, applied_count 0 and saved=false, with nothing modified or saved. For blend times use set_montage_blend_times. A failed save makes success false, with saved=false and save_error.
Returns: { montage_path, blend_mode_in, blend_mode_out, enable_auto_blend_out, blend_out_trigger_time, sync_group, sync_slot_index, root_motion: {...}, applied_count, notes, changed, saved, save_error, message }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sync_group | No | Sync group name (SyncGroup) the montage joins for marker-based sync; an empty string sets None, omitted keeps the current value. | |
| montage_path | Yes | Full asset path of the montage (e.g. '/Game/MyGame/AM_Example'). | |
| blend_mode_in | No | BlendModeIn: 'Standard' or 'Inertialization' (EMontageBlendMode). Optional. | |
| blend_mode_out | No | BlendModeOut: 'Standard' or 'Inertialization' (EMontageBlendMode). Optional. | |
| sync_slot_index | No | Zero-based index of the slot track whose animation drives the sync group (SyncSlotIndex); omitted keeps the current value. | |
| enable_auto_blend_out | No | When true the montage blends out by itself near its end (bEnableAutoBlendOut); omitted keeps the current value. | |
| root_motion_root_lock | No | RootMotionRootLock: 'RefPose'|'AnimFirstFrame'|'Zero' (DEPRECATED since 4.5). Optional. | |
| blend_out_trigger_time | No | BlendOutTriggerTime in seconds (<0 = auto from BlendOut time). Optional. | |
| enable_root_motion_rotation | No | bEnableRootMotionRotation (bool, DEPRECATED since 4.5). Optional. | |
| enable_root_motion_translation | No | bEnableRootMotionTranslation (bool, DEPRECATED since 4.5). Optional. |