Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
PELHAM

Stop aircraft firing AA missiles at ground targets?

Recommended Posts

The aircraft in my missions keep firing sidewinders and amraams at ground targets.

If I wanted to spawn an aircraft on a 'Top cover' role to keep the enemy aircraft away, how do I prevent them from doing this and get them only to engage air targets?

The other annoying aspect of this is, if you spawn an F35B or the RKSL Typhoon with bombs. They will fire their Air to Air missiles at the ground targets before using the bombs?

To prevent that you have to manually script the removal of all the AA missiles.

Any way around the above?

Share this post


Link to post
Share on other sites

I dont know how to prevent them from using AA missiles toward the ground.

If you dont want them to use AA missiles, but you do want them to use bombs you could try something I did for a BMP3 I only wanted to use 20mm ammo vs infantry.

What I did was simple. Add the unit on the map, set the ammo bar to zero and use the, example, "this addmagazine "30Rnd_762x39_AK47" in the unit box. This way, if the ai attacked something it would only be able to attack with the weapon I wanted it too use.

Link (Ctrl+F mk82)

this addmagazine "3Rnd_Mk82 "; this addweapon "Mk82BombLauncher"; or if it dosent work try...

this addweapon "Mk82BombLauncher"; this addmagazine "3Rnd_Mk82 ";

Note:

You might need to add the launcher as well first when you sett ammo to zero, it depends on the weapon on the unit. Example if you set ammo to zero on a tank you want to fire smoke you need to add the launcher as well as the ammo even when the tank has smoke launchers, but you dont with the 20mm cannon etc... test and try. Lastly if you want more than one mag you must repeat the whole addmagazine line to add more bombs. The xx bombs didnt work of me when I tried this a long time ago.

Edited by JojoTheSlayer

Share this post


Link to post
Share on other sites
Sign in to follow this  

×