OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Wireded on 05 Feb 2003, 10:50:24

Title: AA and Flak????
Post by: Wireded on 05 Feb 2003, 10:50:24
I can simulate artillery barrages without any problem, but I could do with help to simulate flak explosions in mid air????? Is it possible to have explosions higher than ground level????

I could probably reuse an artillery script if it's possible to change the height of explosions...

Anybody got any suggestions?

FOUND A SOLUTION FURTHER DOWN THE FORUMS...


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.