Home   Help Search Login Register  

Author Topic: CfgSFX function broken?  (Read 648 times)

0 Members and 1 Guest are viewing this topic.

PRiME

  • Guest
CfgSFX function broken?
« 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!?!

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:CfgSFX function broken?
« Reply #1 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};
   };
};
« Last Edit: 15 Jan 2003, 19:48:57 by Black_Feather »