soundvolume(
IDENTIFIER
)

The soundvolume( function returns the current volume of the specified playing sound.


Parameters

This function has one parameter:

identifier – identifier for the sound (sound must already be playing).


Description

This function returns the current volume of the specified playing sound. The volume may range from 0 (completely muted) to 1 (full volume, as specified by the system volume control). For example, 0.5 is half of full volume.

Note: The volume can be set by the playsound statement and adjusted by the controlsound statement.


See Also


History

VersionStatusNotes
10.2NewNew in this version.