OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: goki on 23 Jun 2003, 19:17:18
-
Hi :wave:
how can I turn the volume up / down or shut it down through the game ? can I use trigger to make this? if it is sqs thing so it fits me too. :thumbsup:
I know there are three types of sound ( music, effects and radio ) can you say to me which commands work for which one? :hmm:
thanks a bit ( just kiddin ;D ) :moon:
C U ( I drive at see you ) :tomato:
-G. :wave:
-
To music,
x fadeMusic y
X = The time the music will use to fade
Y = The volume the music should fade into. Default is 0.5
Exsample:
1 fadeMusic 1
This makes the music's volume become 1 in 1 second.
To sound,
Exsactly the same, just the command is fadeSound
x fadeSound y
I dunno about the radio.
These commands can go in scripts/initFields/Triggers/Wp's
Any helpfull?
-
"any helpful?"
Man are you kidding? :P it opened a new perspective to me 8)
thanks,
C U ( see you ) :tomato:
-G.
-
Hehe. Good. Now just press the solve topic button ;D
That would be helpfull to me :D