Project

General

Profile

$vol » History » Revision 3

Revision 2 (Per Amundsen, 07/09/2016 02:33 PM) → Revision 3/4 (Per Amundsen, 12/22/2018 12:42 PM)

_Added in 1.9.0_ 

 *$vol(wave|midi|song|mp3|master)* 

 Gets the current volume for the specified sound setting. 

 _Currently only returns volume for wave/midi/song/mp3._ 

 *Parameters* 

 wave|midi|song|master - The sound setting to get status from. 

 *Properties* 

 .mute - Returns [[$true]] if the player is muted, otherwise [[$false]]. 

 *Example* 

 <pre> 
 ; Print volume for 'song' 
 //echo -ag Volume for song is $vol(song) 
 </pre>