create_control_bus
Create or load a USoundControlBus asset at a target package path and save it, returning bus path, default value, and creation status. Ensures a bus exists before setting runtime values.
Instructions
Creates a USoundControlBus asset at package_path/bus_name, or loads the one already there, and saves it. initial_value is only echoed back as value, never written to the bus; push a runtime value with set_control_bus_value. Returns bus_path, default_value, created, already_existed, saved.
Returns: { bus_path, bus_name, value, default_value, created, already_existed, saved }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bus_name | Yes | Name of the control bus (e.g. "Bus_Volume") | |
| package_path | No | Target content package path where the asset is created (default /Game/MCP) | |
| initial_value | No | Number echoed back as value in the reply; it is not stored on the bus (default 1.0) |