HI all.
I've been trying to get this to work and finding it nothing like as easy as it should be.
g_musicselection=math.random(1,4)
PlaySoundIfSilent(e,g_musicselection)
This works but also plays all of them overlaid at once
Trying to add conditions to this to get it to just play one at a time is proving an issue. Mainly because there does not seem to get a command to find if music is playing or not. The best I can get is a random track that plays endlessly, rather than randomly change each time the sound ends
If we could get a "GetSoundPlaying(e) command it would make this a doddle. I could probably get this working with global sound effects possibly, but it would be useful to be able to detect sound effects placed in the editor
SPECS: Ryzen 1700 CPU. Nvidia 970GTX. 16 Gig Memory. Win 10.