Jump to content
Sign in to follow this  
connorwarman

Script to remove 40mm on a AAV

Recommended Posts

Im creating a mission in which I would like to remove the 40mm cannon on the AAV.

Is this possible? And if so, how do I remove it?

Share this post


Link to post
Share on other sites

Few days ago we had almost the same question here about removing ammo. ;)

Check commands:

removemagazineturret and addmagazineturret. More info you will find on bi wiki.

---------- Post added at 05:53 AM ---------- Previous post was at 05:49 AM ----------

Or i didn't understand you good and you want to remove weapon from vehicle? ;)

Share this post


Link to post
Share on other sites

If you want to have an AAV without its grenade launcher at Mission start, simply write this into the AAVs Init-Line

this removeWeapon "MK19"; this removeMagazine "48Rnd_40mm_MK19";

I do not know how many Magazines are in one AAV for its 40mm. RemoveMagazine will only remove one, so you´ll have to write it as many times as there are Magazines.

Share this post


Link to post
Share on other sites

this removeMagazinesTurret ["48Rnd_40mm_MK19",[0]];

Removes all ammo of the specified type for the main turret.

Edited by Harzach

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  

×