OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Insidious on 17 Jun 2013, 23:18:57

Title: how to get a plane to drop bombs
Post by: Insidious on 17 Jun 2013, 23:18:57
i am trying to figure out how to get a plane to drop bombs. i am currently using the a-26 invader add-on. any help would be good. im new to this scripting thing.
thanks
Title: Re: how to get a plane to drop bombs
Post by: Gruntage on 17 Jun 2013, 23:35:57
The bombs that a plane drops are the 'laser guided bomb'. I think you can get the plane to drop its bombs with the 'fire' command. Check the COMREF here (http://www.ofpec.com/COMREF/) for info on the various commands (though make sure you select OFP as the game).

You could also try one of the artillery/airstrike scripts available in the Editors' Depot (http://www.ofpec.com/editors-depot/index.php?action=list&game=OFP/). They're a very effective way of simulating an accurate airstrike.

Hope this helps (been a long time since I touched the OFP editor)

Gruntage