Sorry if I'm being entirely dumb here, but I've spent a good couple of hours trying to work this out, and I can't seem to find the answer. I hope someone can help.
I'm trying to set off a sound using a trigger, which all works fine-and-well with the built-in sounds, but when I try to use my own sound, nothing happens. The sound has the correct properties, etc. (even tried a working sound from a tutorial I found), and I've got this in my Description.ext:
class CfgSounds
{
sounds[] =
{
PunchFace
};
class PunchFace
{
name = "PunchFace";
sound[] = {"\Sound\punchSound.ogg", db-10, 1.0};
titles[] =
{
};
};
};
And then I've got this in a script, that's executed by an action:
// Punch Sound
playPunch = true;
publicVariable "playPunch";
A trigger then detects the playPunch = true, and attempts to play the sound using:
playSound "PunchFace";
However, I never hear anything. If I change it to a built-in sound, such as "Alarm", it works adequately.
Using the following also causes the same problem:
this say "PunchFace";
What am I doing wrong? I'm pulling my hair out here.
Thanks in advance!
Edit: I should probably note that I've tried all sorts of volume settings, from db-10 and db+10 to 100. Still, nothing.