Revision Difference
CSoundPatch:ChangeVolume#526669
<function name="ChangeVolume" parent="CSoundPatch" type="classfunc">
<description>
Adjusts the volume of the sound played.<br/>
Appears to only work while the sound is being played.
<bug>This function will be ignored if the sound isn't playing</bug>⤶
</description>
<realm>Shared</realm>
<args>
<arg name="volume" type="number">The volume ranges from 0 to 1.</arg>
<arg name="deltaTime" type="number" default="0">Time to fade the volume from previous to new value from.</arg>
</args>
</function>