Home   Help Search Login Register  

Author Topic: Barrels inflame  (Read 1166 times)

0 Members and 1 Guest are viewing this topic.

Offline Blacknite

  • Members
  • *
  • Chiefs runs the navy!
Barrels inflame
« on: 12 Dec 2008, 05:38:16 »
Hello fellows, I would like to have barrels to be on fire like the fire place.  I would also would like some barrels to explode when hit aswell...  I saw it in a mission but dont remember what it was...  Anybody know the scripting?

Offline Carroll

  • Members
  • *
  • Mission Designer (MP-"well tryin to capiche"
Re: Barrels inflame
« Reply #1 on: 12 Dec 2008, 06:37:52 »
To answer the part about the barrel exploding when hit....

This will be the explosion at the barrels position (barrel named B1)
Code: [Select]
Boom1a =  "M_Sidewinder_AA" createVehicle (getpos B1);This will be the condition
Code: [Select]
getDammage B1 > 0.05

Offline johnnyboy

  • OFPEC Patron
  • ****
  • Matan los Pantalones!!!
Re: Barrels inflame
« Reply #2 on: 12 Dec 2008, 07:17:46 »
Hi Blacknite.  Your post prompted me to upload a fun barrel explosion script I've had for awhile.  Check it out here:

http://www.ofpec.com/forum/index.php?topic=32647.msg224672#msg224672

It's very easy to use, and the chain reaction effect can be quite amusing.
El Cojon: "Do you like to Tango?"
You: "Only in Bagango."
Download Last Tango in Bagango and discover how El Cojon earned his name...

Offline Blacknite

  • Members
  • *
  • Chiefs runs the navy!
Re: Barrels inflame
« Reply #3 on: 14 Dec 2008, 06:36:34 »
Thanks fellows!