hello fellas,
recently im redesigning my settings menu and now i came to the point where i added sound sliders for all 5 different sound types:
music
sounds
speech
movies
global
when releasing the slider i want to play a sound file based off the value of the currently changed sound type.
So when clicking or releasing the slider the following happens:
music slider - no sound needed. Background music changes instantly, so you hear that it gets quiter/louder
sounds slider - play a sound with play sound action part
speech slider - display a narration text with " " as text an a linked sound
movies slider - ???
global slider - ???
What do i need to play to get the sounds of the two last sliders played with the correct volume?
I can't just use a play sound action part on the other sliders, because when e.g. i set the sound volume to "0" i cant hear the sound on the other sliders...
I found a lua player function (startsound) which has volume flag in it. But does it take the normal sounds as a channel or is this individual?
Any suggestions how i achive the sound playback correctly?
kind regards
Sebastian