Script Reference Sound & Video

soundvolume (volume) //Advanced

Used for : General.

Parameters :

- volume - 0 -100.

Description :

Main volume used for playing Sounds, Loopsounds and walksounds. Volumes specified in playsound and loopsound are related to the main volume. [Variabels] can be used as parameters.

Example :

playsound (soundfile ; 80)

Plays a soundfile with 80% volume of the value specified with soundvolume before. Is soundvolume 50, the sound will be played with 40% volume (80% of 50%).