$vol » History » Version 1
Per Amundsen, 08/12/2015 09:32 AM
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 | _Currently only returns volume for song/mp3._ |
||
8 | |||
9 | *Parameters* |
||
10 | |||
11 | wave|midi|song|master - The sound setting to get status from. |
||
12 | |||
13 | *Properties* |
||
14 | |||
15 | .mute - TODO ($false) |
||
16 | |||
17 | *Example* |
||
18 | |||
19 | <pre> |
||
20 | ; Print volume for 'song' |
||
21 | //echo -ag Volume for song is $vol(song) |
||
22 | </pre> |