(10-05-2015, 06:59 PM)Mudbill Wrote: Running this:
PlayMusic("in_motion.ogg", false, 1, 0, 1, true);
Then later running this:
PlayMusic("in_motion.ogg", false, 0.2, 1, 2, true);
Achieves this effect. It starts the music at standard volume, then fades it down to 0.2.
I took this code from my Intro/Outro video, which shows the effect in action.
I know that, and I did that.
but the sound is staying at the same volume, maybe something is wrong with my music snt file?!
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="SnowStorm" />
</Main>
</SOUNDS>
<PROPERTIES Volume="0.5" MinDistance="20" MaxDistance="30" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="True" Loop="True" Use3D="False" Blockable="False" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>
Btw, if it would work, how am I supposed to do the "IF" thing?
I tried some things but couldn't end up at the thing I wanted to end,
so basically, If the player is inside of an AREA, the "void" will start, so basically, the music will be lower, and if the player leaves the area, the other thing will happen, which makes the music at the normal state...
I know most of the scripting but this one is a little bit weird to me...