$vol » History » Version 3
Per Amundsen, 12/22/2018 12:42 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 | *Parameters* |
||
8 | |||
9 | wave|midi|song|master - The sound setting to get status from. |
||
10 | |||
11 | *Properties* |
||
12 | |||
13 | 2 | Per Amundsen | .mute - Returns [[$true]] if the player is muted, otherwise [[$false]]. |
14 | 1 | Per Amundsen | |
15 | *Example* |
||
16 | |||
17 | <pre> |
||
18 | ; Print volume for 'song' |
||
19 | //echo -ag Volume for song is $vol(song) |
||
20 | </pre> |