SetMasterVolume(vol)
This function sets the master volume to the specified value vol
.
Using this command you can realise sound fade outs or ins.
Starting with Hollywood 2.0, vol
can also be a string containing
a percent specification, e.g. "50%".
For k = 64 To 0 Step -5 SetMasterVolume(k) NextThe code above fades out all playing sounds by modifying the master volume.