Topic Manipulating a sound's volume without breaking the loop
This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.
In Response to Andriel
Hi,
I made a millwheel loop for the windmill and the windgenerator. Now as the wheel's turning speed varies, I want the sound volume to vary accordingly. The problem is, when I start the loop like this for example:
and then want to change the volume to 100:
the function returns
I made a millwheel loop for the windmill and the windgenerator. Now as the wheel's turning speed varies, I want the sound volume to vary accordingly. The problem is, when I start the loop like this for example:
Sound("millwheel_loop", false, 50, nil, 1);
and then want to change the volume to 100:
Sound("millwheel_loop", false, 100, nil, 1);
the function returns
false
and nothing happens. So is there a trick to do it or is this not possible? Otherwise I would need to have multiple sounds.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill