- Joined
- Dec 2, 2013
- Messages
- 25
Hi everyone, I have a sound problem : I need to play a certain ambient sound when a unit enters a region. I also need to turn off ambient sound (wich is Lordaeron summer) and music.
I use the local player script to do this in order to play the sound only for the one who enters the region.
OK this part works fine
When the unit leaves the region, I have to turn back on music AND ambient sound (Lordaeron summer) and stop my previous sound (the cave sound).
But here is the prob, the GUI action to do this
Sound - Use the Lordaeron summer daytime ambient theme causes desync.
So here is my question : is there a way to turn on and off the ambient sound (such as Lordaeon summer) using Local player script WITHOUT desync ?
I'm really bad at JASS but maybe there is something like :
call PlaySound(bj_dayAmbientSound, true, true)
Here are the triggers that I used (uploaded img)
I use the local player script to do this in order to play the sound only for the one who enters the region.
OK this part works fine
When the unit leaves the region, I have to turn back on music AND ambient sound (Lordaeron summer) and stop my previous sound (the cave sound).
But here is the prob, the GUI action to do this
Sound - Use the Lordaeron summer daytime ambient theme causes desync.
So here is my question : is there a way to turn on and off the ambient sound (such as Lordaeon summer) using Local player script WITHOUT desync ?
I'm really bad at JASS but maybe there is something like :
call PlaySound(bj_dayAmbientSound, true, true)
Here are the triggers that I used (uploaded img)