Jump to content
Sign in to follow this  
An Fiach

CO Making AI Bomb Buildings

Recommended Posts

I haven't seen this anywhere else so I thought I'd share. This requires that you use the AV-8B [not the AV-8B(LGB)]

In the unit init:

name doTarget (getPos this nearestObject buildingID#); bomb2 = name fireAtTarget  [(getPos this nearestObject buildingID#), "Mk82BombLauncher_6"];

This can also be called up by placing it in the OnAct box of a waypoint, I use a destroy waypoint so the AI has freedom to aim. If the AI is too close to hit the target it won't drop the bomb. Also you may need to adjust the flyInHeight of the unit so the bomb trajectory will miss surrounding buildings.

This drops a single bomb. The waypoint method can be used to hit several targets, keeping in mind there is a delay between weapon pickles. For example you will not be able to hit two buildings next to one another.

Hope this is helpful.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×