36
« on: June 06, 2008, 03:19:35 PM »
Thanks the both of you. But unfortunately, none of the methods work. The sound starts playing at 100 no matter what. Metamorphium, it indeed seems like the volume can be set only after the channel plays (as opposed to the Game.PlaySound command, where I set the volume in the first line all constantly, with no problem), but it doesn't even seem to be possible to set it in the the same block of code. I even used the sleep command between my two lines of code just to see what happens, but the sound still keeps playing on 100.
In my game, you will approach a river, and the sound volume from the river must increase as you are getting closer. As it seems now, the only thing you can do with this command is to decrease the volume? (And then increase it after that).
Of course, I can make separate sound files in different volumes and switch between them, but I really hope that there is a more convenient solution.
Thanks,
Mikael