T
tamation
Guest
Really strange error here, it's been happening the last few days with this prototype and it's never happened to me before, really confused here.
When trying to play a sound with audio_play_sound, sometimes it just...doesn't work? I'll add a sound called snd_door for example, set it up with the new sound effect, and then when adding audio_play_sound(snd_door,1,false) to a line of code it will just play another completely random sound from the game. I've tried double checking to make sure it's the right sound, I've tried making multiple versions of the same sound under different names, but even when swapping it out with the new sounds under new names it still plays the other sound effect. Sometimes it does this, sometimes it doesn't. Sometimes I'll add a new sound and when I reference it by name, it will just give me a windows error beep, however another previous working sound effect in the game will suddenly be replaced by the new sound, despite not being told to play the new sound in code. It will just replace the sound effect of whatever was previously saved, and trying to reload the old sound from a file will do nothing and it will continue to be bugged and play the new sound but under a different name.
I'm extremely confused and frustrated. Is there anything in options to look out for that I may have selected accidentally that's causing this, or any other solution at all?
When trying to play a sound with audio_play_sound, sometimes it just...doesn't work? I'll add a sound called snd_door for example, set it up with the new sound effect, and then when adding audio_play_sound(snd_door,1,false) to a line of code it will just play another completely random sound from the game. I've tried double checking to make sure it's the right sound, I've tried making multiple versions of the same sound under different names, but even when swapping it out with the new sounds under new names it still plays the other sound effect. Sometimes it does this, sometimes it doesn't. Sometimes I'll add a new sound and when I reference it by name, it will just give me a windows error beep, however another previous working sound effect in the game will suddenly be replaced by the new sound, despite not being told to play the new sound in code. It will just replace the sound effect of whatever was previously saved, and trying to reload the old sound from a file will do nothing and it will continue to be bugged and play the new sound but under a different name.
I'm extremely confused and frustrated. Is there anything in options to look out for that I may have selected accidentally that's causing this, or any other solution at all?