add_smart_object_definition_default_behavior
Attach a definition-level default behavior to a Smart Object Definition so slots without their own inherit it. Specify definition_path and behavior_class to add and save it.
Instructions
Attach a definition-level default behavior (applied to slots without their own) to a USmartObjectDefinition; the private DefaultBehaviorDefinitions array is reached via FArrayProperty reflection.
Returns: { definition_path: string, behavior_class: string, default_behavior_count: int, added: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| behavior_class | Yes | Behavior class: short native name or /Script path; must derive from USmartObjectBehaviorDefinition | |
| definition_path | Yes | Path to the USmartObjectDefinition asset |