SetSfxVolume
Category: Audio
Signature
SetSfxVolume(sfxReference As Integer, volume As Float)
Returns
Void
Description
Sets the perceived volume of a loaded sound effect using a 0.0 to 1.0 range.
The runtime applies a non-linear volume curve so values such as 0.5 sound closer to half loudness instead of half linear amplitude.
Values outside the 0.0 to 1.0 range are clamped.
Example
SetSfxVolume(jumpSfx, 0.5)