OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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?
-
Use this command
"laserguidedbomb" camcreate getpos chopper1
SILENTHUNTER
-
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
-
"Explosion" camCreate getpos (your chppers name)
-
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:
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