set_component_definition
Assign a USmartObjectDefinition asset to an actor's USmartObjectComponent in the Unreal Editor world, updating its smart object behavior for testing or level setup.
Instructions
Set (change) the USmartObjectDefinition on the USmartObjectComponent of an actor in the editor world.
Returns: { actor_label: string, definition_path: string, definition: string, registered: bool, set: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_label | Yes | Editor label of the actor carrying the USmartObjectComponent | |
| definition_path | Yes | Path to the USmartObjectDefinition asset to assign |