set_audio_volume
Set an audio component's volume multiplier in the Unreal Editor world by object name; values must be 0-10, and modulation limits reset to 1.
Instructions
Set VolumeMultiplier (0 to 10, else an error; also resets VolumeModulationMin/Max to 1) on an audio component of the editor world, matched by object name against the first audio component of each actor. No undo, no dirty mark. Returns old_volume, new_volume and volume_set.
Returns: { audio_component_name: string, old_volume: number, new_volume: number, requested_volume: number, volume_set: bool, volume_message: string, audio_enabled: bool, audio_pitch: number, audio_mobility: string, audio_sound_name: string, audio_3d_attenuation_radius: number, audio_position: { x, y, z }, audio_owner_name: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| volume | Yes | Volume multiplier between 0.0 and 10.0 | |
| audio_component_name | Yes | Object name of the audio component to modify (e.g. "AudioComponent0"), compared without case; only the first audio component of each actor is searched. |