OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: stephen271276 on 21 Feb 2011, 19:32:00
-
Can anyone tell me what im doing wrong? Ive searched forums and from what I can see Ive done all I should have?
I have a file in my missions folder called "sounds"
In there ive got two ogg files....crowd and scream.
In my description.ext ive got .....
class CfgSounds
{
sounds[] = {};
class scream
{
name = "";
sound[] = {"\sound\scream.ogg", 1, 1};
titles[] = {};
};
class crowd
{
name = "";
sound[] = {"\sound\crowd.ogg", 1, 1};
titles[] = {};
};
};
But when I put <playsound "crowd" or "scream">
Nothing happens?
-
You need to change the folder name to "sound" or the root to "sounds" (-> sound[] = {"\sounds\scream.ogg", 1, 1};).
-
So simple when you know how.... thanks man
Aaaaargh!
I got those two working but then added another ogg file called "thank" to my sound file.
I went into my desc.ext and just copy and pasted your above example but changed the words "scream" to "thank".
But when I put <playsound "thank"> into a trigger it just says <file "sound" not found>????