miraoister 1 Posted August 9, 2011 the BOH mod has a really cool Ambulance with a siren, I want to script it so the ambulance is going down the street with the siren going, the script isn't published anywhere, not on the BOH website or anywhere else. is there a piece of software I could download that could help me look through the BOH pbo files to find the correct script? Share this post Link to post Share on other sites
Tankbuster 1533 Posted August 9, 2011 Notepad++ has a 'find in files' function, but first you need to unpack the files to look at the scripts and models. Have you tried asking the makers of the mod? Share this post Link to post Share on other sites
nikiller 18 Posted August 9, 2011 the BOH mod has a really cool Ambulance with a siren, I want to script it so the ambulance is going down the street with the siren going, the script isn't published anywhere, not on the BOH website or anywhere else.is there a piece of software I could download that could help me look through the BOH pbo files to find the correct script? If you want to unpbo you need PBO Decryptor 1.5. But not sure this one unpbo everything sometimes it doesn't work. Some ArmA2 decryptor are better search on armedassault.info or armaholic. The script you are looking for is in BOHCONFIG.pbo. You can directly execute the script. Name the ambulance ambulance1 and type in the init field or in the init.sqs [ambulance1] exec "\BOHCONFIG\scripts\Siren.sqs". If you prefer to have better control on the script here's the sqs which you can include in your mission folder: Name the ambulance ambulance1 and type in the init field or in the init.sqs [ambulance1] exec "siren.sqs"' _Truck = _this select 0 goto "Exit" #loop _Truck Say "BOHsiren" ~6.6 ?(_Truck animationphase "Siren" <= 0.1):goto "Exit" ?(not Alive _Truck) : goto "End" goto "loop" #Exit ?(_Truck animationphase "Siren" > 0.1):goto "loop" ?(not Alive _Truck) : goto "End" ~0.05 goto "Exit" #End _Truck animate ["Siren",0] exit; cya. Nikiller. Share this post Link to post Share on other sites
miraoister 1 Posted August 12, 2011 thanks i will give that a try tonite... Share this post Link to post Share on other sites