Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: sound not playing on engine start  (Read 1554 times)

0 Members and 1 Guest are viewing this topic.

Offline remcen

  • Contributing Member
  • **
  • a.k.a. hottentotten_mike
    • IM:UC
sound not playing on engine start
« on: 19 Jun 2005, 22:33:34 »
the subject title says it all, these damn scripts drive me insane :P
here's the respective code:

config:
Code: [Select]
class eventhandler
         {
engine="[_this select 0, _this select 1] exec ""\imuc_bmd\bmdstart.sqs"";";
         };
Code: [Select]
class CfgSounds
{
   class bmdstart
    {
         sound[]={"\imuc_bmd\bmdstart2.ogg",db+0,1};
         name = "bmdstart";
      titles[] = {};
    };
};
tried wav files and oggs, all 16 bit 44Hz mono

the script:
Code: [Select]
_bmd = _this select 0

#start
@(isengineon _bmd)
hint "start"
_bmd say "bmdstart"

#check
@(!(isengineon _bmd))
goto "start"
the hint isn't even displaying although it's all like seb müller did it for his dune buggy misfiring.
also tried @(isengineon _bmd == true) in the 3rd line
we're looking for members: IM:UC MOD