set_sound_cue_first_node
Set a USoundCue node as the root output (FirstNode) and save the asset. Get node IDs from add_sound_cue_node or get_sound_cue_graph.
Instructions
Make the node at node_id the root (FirstNode, the output) of a USoundCue graph, undoably, and save the asset. Returns first_node_class, first_node_set and saved; an out-of-range node_id is an error. Get node ids from add_sound_cue_node or get_sound_cue_graph.
Returns: { cue_path: string, node_id: int, first_node_class: string, first_node_set: bool, saved: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | node_id (index in the cue AllNodes array) to use as the root of the cue graph | |
| cue_path | Yes | Full asset path of the cue |