OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Ilkka on 19 Jan 2003, 10:32:51
-
How can i make explosions to air? (Don`t know even how to make them to ground)
-
wait a sec, IÂ'll be right back!
(I asked the same Q, have to find da topic)
EDIT:
DonÂ't cear about this one, I ainÂ't done yet, itÂ's two topics so IÂ've to copy and paste two times:
you'll have to fiddle with this thing to get the right height,
this setpos[(getpos this select 0), (getpos this select 1), 10]
the number on the end is the height. good luck
EDIT AGAIN, AND IT`S THIS ONE YOU SHOULD USE:
1. Ok, set out a game logic and name it, hmm, letÂ's say BOMB.
2. In the init field of the game logic, use the command above in the EDIT section, and youÂ'll have to "fiddle with it" as it says.
3. Now use this command:
bomb="heat120" Camcreate getpos BOMB
There are several kinds of bombs, heat73, heat105, heat120 and heat125, there are also shell73, shell105 and so on.
I donÂ't know if this works, cause I havenÂ't tried it, so youÂ'll have to ask again if it doesnÂ't work.
-
Ok, it works. But bomb don`t explode in the air. It drop to ground.
-
you need to create two bombs in the same position, so
bomb="heat120" Camcreate getpos BOMB
bomb="heat120" Camcreate getpos BOMB
should give you a explosion
-
Yes. Now it works!