Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
/client/verb/test_sound(F as sound)
var/sound/S = new()
S.file = F
S.channel = 100
S.wait = 0
S.repeat = 0
S.status = SOUND_UPDATE
S.volume = 100
usr << S
Expected Results:
Sound shouldn't play
Actual Results:
Sound play
In my case, I want make a volume slider applying to current playing sound on specific channel. It's possible by re-sending S (sound) with new params and SOUND_UPDATE flag, but if sound already ended we just start it again...
And there is no way to know playing something on channel or not.
Or maybe I'm missing something?
Also, documentation unclear about how SOUND_UPDATE should work with wait=1 queue
As for interaction with wait, it's basically the same deal: using the update flag and using wait=1 at the same time is nonsensical.