B
Beelzedude
Guest
hi there!
I have multiple instances of the same object inside a room which create a sound emitter that
plays the same sound for every instance (with fall off).
this works perfectly for one object/instance but as soon as I use more it doesnt work correctly anymore.
seems like the second instance that plays the sound is half as loud as it should be, the third instance
works in one room but not in the other and if there are four instances of the same object only two
play the sound (also one of the emitters sound is half as loud).
this is what is inside the create event and what it does, everytime the emitter is set "free" (emitters sound is off).
does this have something to do with priority?
maybe someone knows my problem or can tell me what I've done wrong.
thanks! =)
I have multiple instances of the same object inside a room which create a sound emitter that
plays the same sound for every instance (with fall off).
this works perfectly for one object/instance but as soon as I use more it doesnt work correctly anymore.
seems like the second instance that plays the sound is half as loud as it should be, the third instance
works in one room but not in the other and if there are four instances of the same object only two
play the sound (also one of the emitters sound is half as loud).
this is what is inside the create event and what it does, everytime the emitter is set "free" (emitters sound is off).
Code:
maxdistance = 100;
/****SET SOUND EMITTER****/
s_emit = audio_emitter_create();
audio_emitter_position(s_emit, x, y, 0);
audio_emitter_falloff(s_emit, maxdistance * 0.8, maxdistance, 1);
audio_play_sound_on(s_emit, snd_camera, true, 1);
maybe someone knows my problem or can tell me what I've done wrong.
thanks! =)
Last edited by a moderator: