08-06-2018, 09:18 PM
(This post was last modified: 08-06-2018, 09:32 PM by smbmaster99.)
EDIT: Nevermind rofllllllll i don't understand WHY but changing the time argument in the audio_sound_gain() function from 1 to 0 fixed it lol
Hey there, my problem is pretty much in the thread title. I've been using
for a while now for some ambient sound effects in my project with no problems, but i decided to add further ambient sound effects as included files. I'm using
to load and play the sound effects. I get the sounds to play just fine, but now the audio_sound_gain function doesn't work on them anymore - now sounds like a creek are locked at 1 (max volume/gain) instead of fading smoothly from 0 to around 0.5 for example (based on distance to the player). Essentially, the audio_sound_gain function doesn't seem to work anymore now that i've moved some of the larger ambient sound effects to included files
Can anyone help?
Hey there, my problem is pretty much in the thread title. I've been using
Code:
audio_sound_gain(index, volume, time)
Code:
audio_create_stream(filename)
Can anyone help?