OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gundernak on 16 Apr 2004, 20:27:35

Title: explosion in the air
Post by: gundernak on 16 Apr 2004, 20:27:35
Hi all,

I would like to have an explosion in the air, right there where my chopper is...

Could you help me?

Title: Re:explosion in the air
Post by: SilentHunter on 16 Apr 2004, 20:40:18
Use this command

"laserguidedbomb" camcreate getpos chopper1

SILENTHUNTER
Title: Re:explosion in the air
Post by: csde-PiLLe on 16 Apr 2004, 21:40:58
Totally unrelated, but:

Darn.

I tried for hours to find the "real name" of the LGB. It never struck me that it could be "LaserGuidedBomb"...

NAAARF.. :)

Cheers
PiLLe
Title: Re:explosion in the air
Post by: Dutch Flander on 16 Apr 2004, 21:54:04
"Explosion" camCreate getpos (your chppers name)
Title: Re:explosion in the air
Post by: gundernak on 18 Apr 2004, 02:21:20
thanks for your answers, but unfortunately did not help...


1. "laserguidedbomb" camcreate getpos chopper1

a lgb appearing and falling, whet hit the ground exploding...
it looks like more like bombing...


2. "Explosion" camCreate getpos (your chppers name)

this explosion looks good, but cause no harm to the chopper and has no sound...


After searching and experimenting I set up this script, and it works now:
Code: [Select]
MySatchel = "pipebomb" camCreate [(getpos chopper select 0) + 10, (getpos chopper select 1), (getpos chopper select 2)]
MyBlast = "SHELL73" camCreate getPos MySatchel
~0.2
deleteVehicle MySatchel
deleteVehicle MyBlast

exit

It means I had to camcreate a shell73 to explode the satchel...

and after delete these...

thanks anyway

bye