I've been having some trouble with the "GetSoundPlaying" function. I remember having trouble with it in the past, but I thought I'd give it another shot now.
The first thing I tried was the "Underwater" sound. It's a reasonably long sound, so I figured it should be easily detectable. I tried both:
GetSoundPlaying "Underwater"Player->GetSoundPlaying "Underwater"
With no luck. I then tried the same thing with the "Disarm Trap" sound, still with no luck (even though it's specifically given as an example in MWSFD). However, it occurs to me that perhaps for it to work, the fix must be the container that's being disarmed, rather than the player... does anyone know about this?
I also tried the "miss" sound, which was the only one that worked (but only with the Player fix).
So basically, does anyone know why some work and some don't, or how to get them all working, or which ones don't work (other than the potion drinking sound, which I read is bugged)?
Thanks,
- Danjb