OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: teeBore on 05 May 2003, 08:41:46
-
I'm trying to implement a bomb situated in a town that will destroy all the buildings in the town, flatten all trees and destroy all units within a specofied area.
Is this possible using scripting, or will i have to create a large amount of bombs to destroy everything in the area?
-
You can setdammage to every object in the town via it's object ID
I've used this method to make a couple of buildings destroyed from an earlier battle during a mission..
-
Hi
Try this great script/demo by Rubbel Maker -
Its very good and will flatten eveything around it , its done as a ammo truck but you can change it to a invisible helo H / Objects or anything else as long as it keeps the orginal name . If you know scripts its easy to add some more explosions or adjust it to your needs , but its pretty impressive as it is .
Its a big firework and boom and the go of is diffrent if you shoot at it or if you explode it - jst try it its very good . read me file and mission is in zip
Ryan