I have a trigger that I would like to selectively produce a sound:
I've used the full path here, but I also tried just "claves.wav" and verified that path as the default to the sounds directory using GetInfo (74).
I get the default activity sound, not the 'claves' sound.
I get this also when I enter '/Sound ("claves.wave")' on the command line (/ is the default lua escape)
If I use the built-in sound mechanism provided in the trigger dialog, it works fine. I get the correct sound.
I've tried lowering the sequence number of the trigger as a workaround suggested on the forum in 2006 and it did not help. If the poster meant I should make the trigger fire after all triggers, then I'm not able to do that as I have many triggers already at seq = 10000.
Any suggestions?
if StealthMode and not Fighting then
Sound("C:\Program Files (x86)\MUSHclient\sounds\claves.wav")
end
I've used the full path here, but I also tried just "claves.wav" and verified that path as the default to the sounds directory using GetInfo (74).
I get the default activity sound, not the 'claves' sound.
I get this also when I enter '/Sound ("claves.wave")' on the command line (/ is the default lua escape)
If I use the built-in sound mechanism provided in the trigger dialog, it works fine. I get the correct sound.
I've tried lowering the sequence number of the trigger as a workaround suggested on the forum in 2006 and it did not help. If the poster meant I should make the trigger fire after all triggers, then I'm not able to do that as I have many triggers already at seq = 10000.
Any suggestions?