OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Camious on 25 Sep 2008, 00:58:45

Title: Bomb drop script
Post by: Camious on 25 Sep 2008, 00:58:45
Mando if you dont mind as you do great work and seem to be best to ask. How do i get a plane to drop more than one bomb on a invisable target as they allways drop one can you tell me what i need to type please as in your own they drop two. :)
Title: Re: Bomb drop script
Post by: Mandoble on 25 Sep 2008, 09:18:45
Do you mean using mando bombs? If so, they drop a minimum of two.
Title: Re: Bomb drop script
Post by: Camious on 26 Sep 2008, 21:31:59
I use your script which is great but i am trying to get ai plane to drop them in mission i create with any plane i use
Title: Re: Bomb drop script
Post by: Mandoble on 26 Sep 2008, 22:58:39
Well, if you know when the plane should start to drop bombs, you may use the action "UseWeapon" to force the AI plane to drop a bomb or more.

EDIT:
if your AI really drops at least a single bomb, you may use the FIRED event handler to catch it and drop a second one using the UseWeapon (but only when number of bombs left ("ammo") is odd.