OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jakerod on 15 Sep 2002, 19:36:36
-
Hey how can i make a shilka fire into the air or an m2 or something... Trying to simulate a shilka shooting at planes flying high in the air.
-
Try
shilkaname fire ["ZsuCannon"]
-
Well I think it's impossible but what do I know.. ::)
At least it's the hardest thing to do because AI doesn't like to fire anything but real targets. Even a GL won't do for them.
I found this in the FAQ
-----------
QUESTION:Anyhow I was wondering if there is a way to create an explosion in midair?
ANSWER: If you want to get ordinance exploding in mid air, try camcreateing two of the ordinance at exactly the same position. Eg:
_big_bang = _ordnance camCreate [x1,y1,z1]
_big_bang = _ordnance camCreate [x1,y1,z1]
Due to the two shells being in the same place, they will explode. Looks good as flak, especially at night.
-----------
A neat trick to use but I don't have anything concrete on your question, sorry.
-
Have you guys thought about putting an M2 (unmanned)
up in the air and using
shilka dofire M2
???
-
Thank you problem solved... didnt think of that...i will also try that flak thing