Legacy GM Audio Emitter is sometimes silent?

TheBroman90

Member
I'm using Audio Emitters to make looping sounds follow objects around.
Sometimes when I run my game, the sound is there. Other times, it's silent.
I have no idea why it works sometimes, but not always :(

Code:
/// CREATE EVENT
audio_falloff_set_model(audio_falloff_linear_distance);
myEmitter = audio_emitter_create();
audio_emitter_falloff(myEmitter, 240, 480, 1);
audio_play_sound_on(myEmitter, mySound, true, 20);
Code:
/// STEP EVENT
audio_emitter_position(myEmitter, x, y, 0);
 
E

Edwin

Guest
It works fine when I run it, but somewhy, sound position is inverted.
 
Top