remove_smart_object_definition_default_behavior
Remove a definition-level default behavior from a USmartObjectDefinition by index. If the index is past the end, it returns already_absent instead of failing, so edits stay idempotent.
Instructions
Remove a definition-level default behavior (by index) from a USmartObjectDefinition; the private DefaultBehaviorDefinitions array is reached via FArrayProperty reflection and resized through FScriptArrayHelper. Idempotent: a behavior_index past the end returns already_absent without error.
Returns: { definition_path: string, behavior_index: int, default_behavior_count: int, removed: bool, already_absent: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| behavior_index | No | Index into DefaultBehaviorDefinitions to remove | |
| definition_path | Yes | Path to the USmartObjectDefinition asset |