OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: duff2005 on 13 Mar 2005, 21:55:17

Title: drop bombs with A-6 (footmunch)
Post by: duff2005 on 13 Mar 2005, 21:55:17
Hi,

I have the problem that i don't know how to drop a napalm bomb from the A-6 Intruder by Footmunch with a trigger.

Can someone help me?

And how can i find scripts for addons in general?

Thank you!

duff2005
Title: Re:drop bombs with A-6 (footmunch)
Post by: Kyle Sarnik on 13 Mar 2005, 22:01:03
Really really easy:

1. Find the classname of the weapon (should start with rkt, check the config to find out, or use  hint format ["%1",weapons this]  in the init box of the plane and it will show you the weapon names in a hint box at the mission start)

2. A6 fire "classname"   A6 = the name of your plane and "classname = the weapon classname.

Should work, try it out.
Title: Re:drop bombs with A-6 (footmunch)
Post by: rhysduk on 14 Mar 2005, 18:30:51
You could script the whole thing but that requires too much effort for a basic problem like this?
Title: Re:drop bombs with A-6 (footmunch)
Post by: duff2005 on 14 Mar 2005, 18:37:51
Kyle Sarnik's idea was good.
it works ;) (of course)

thanks again