Home   Help Search Login Register  

Author Topic: sound not playing on engine start  (Read 972 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