OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: PRiME on 14 Jan 2003, 16:58:18

Title: CfgSFX function broken?
Post by: PRiME on 14 Jan 2003, 16:58:18
Seems no matter wot I try I get some error or a crash to desktop, everything I have searched on the net doesn't work, so I guessing this function is buggered!?!
Title: Re:CfgSFX function broken?
Post by: Black_Feather on 15 Jan 2003, 19:47:34
its a bit different to the others, it goes like this

class CfgSFX
{
   class Anything
   {
      sounds[]={"Anything"};
      name="Anything";
      Anything[]={"\sound\soundfile.ogg",db+30,1, 1,0,0,0};
      empty[]={"","","","",1,5,20};
   };
};