OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Robinhansen on 06 Feb 2004, 00:17:11
-
My radio sounds is a bit too loud. How do I turn down the volume? ???
-
x SoundVolume yx= how long it takes to reach new level, 0 is instant
y= volume level to send to, default is 0.5
Beware the GrimMonkey
-
???
-
SoundVolume just checks the current sound volume.
From the Comref:
soundVolume
Type of returned value:
Number
Description:
Check current sound volume (set by setsoundvolume)
Now I don't know about setsoundvolume, possibly it is a config parameter.
Rip apart some sound configs to see.
Planck
-
x FadeSound y
x= how long it takes to reach new volume level, 0 is instantly, 1 is in 1 second
y= volume level to send to, default is 0.5
I don't think there is a setSoundVolume, the above works just fine for me.
Beware the GrimMonkey