Project

General

Profile

$vol » History » Version 2

Per Amundsen, 07/09/2016 02:33 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$vol(wave|midi|song|mp3|master)*
4
5
Gets the current volume for the specified sound setting.
6
7 2 Per Amundsen
_Currently only returns volume for wave/midi/song/mp3._
8 1 Per Amundsen
9
*Parameters*
10
11
wave|midi|song|master - The sound setting to get status from.
12
13
*Properties*
14
15 2 Per Amundsen
.mute - Returns [[$true]] if the player is muted, otherwise [[$false]].
16 1 Per Amundsen
17
*Example*
18
19
<pre>
20
; Print volume for 'song'
21
//echo -ag Volume for song is $vol(song)
22
</pre>