I have this really weird problem. I've set Play Sound on Score to 0, but whenever I call GiveScore(x); it doesn't play the sound. At first I thought it might be because the game is blocked afterwards, but even if it's the only thing in the script, it doesn't work. The weird thing is, when I do PlaySound(0); it works. I tried using the normal interface, without scripting, just doing game-add score and it still didn't work. Does anyone know why this might be happening?
Try using a different sound # for that purpose, like "Play sound on score 1", and see if it works.
It's possible that the engine interprets 0 as not using that feature, in that case I'm not quite sure if it should be regarded as an engine limitation or bug either.
Thanks. That worked.