Description
Wiki Description
Modify the volume of a playing sound instance.
Documentation Comment
Set the volume of a given playback instance of a sound. Clamped between 0 and 1.
Parameters
intaiPlaybackInstance
CK Wiki Description
The instance ID of the sound whose playback volume we wish to modify.
floatafVolume
CK Wiki Description
The desired volume of a playing sound instance. Values outside of 0.0 - 1.0 will be clamped.
Examples
No human-generated examples found for this function.
Auto-Generated Example
int myInt__aiPlaybackInstance
float myFloat__afVolume
Sound.SetInstanceVolume(myInt__aiPlaybackInstance, myFloat__afVolume)