Hello,
I'm trying to stock my current volume value into a variable when you cut the sound so the sound will be back on that value when you uncut it.
But I can't stock my volume value into a variable as this code is not working:
Code
<action name="cut_uncut">
if(plugin[soundinterface].volume!=0.0,
set(current_volume,plugin[soundinterface].volume);set(plugin[soundinterface].volume,0.0),
set(plugin[soundinterface].volume,0.5));
trace('current volume=', current_volume);
trace('volume=', plugin[soundinterface].volume);
copy(volumectrl_pos,plugin[soundinterface].volume);
skin_volumectrl_update();
</action>
Display More
Here the set(current_volume,plugin[soundinterface].volume);isn't working properly, the track tell me this "INFO: current volume=plugin[soundinterface].volume".
Can someone help me with this pls?