set_sound_class_parent
Re-parent a USoundClass by assigning a new parent and saving both packages. Updates ParentClass and ChildClasses links in Unreal Engine.
Instructions
Make one USoundClass the child of another, wiring ParentClass and ChildClasses, and save both packages. A previous parent loses the child in memory but is not saved; only self-parenting is refused, not cycles. Returns child_count, saved_parent and saved_child, succeeding even when a save fails.
Returns: { child: string, parent: string, child_path: string, parent_path: string, child_count: int, saved_parent: bool, saved_child: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| child_sound_class_path | Yes | Asset path of the USoundClass to re-parent, e.g. "/Game/Audio/SC_Footsteps.SC_Footsteps". | |
| parent_sound_class_path | Yes | Asset path of the USoundClass that becomes its parent, e.g. "/Game/Audio/SC_SFX.SC_SFX". |