ArmA 2 Hot To Remove Weapon / Magazine Cargo From Ambient Civilian Vehicles

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

ArmA 2 How To Remove Weapon / Magazine Cargo From Ambient Civilian Vehicles

If you ever wanted to make some guerrilla type missions where you have civilian vehicles, but they can't be topped up with nice weapons and magazines, this will help you to keep them empty.

Add this line to the Ambient Civilian Vehicles Module init line:

BIS_silvie_mainscope setvariable ["vehicleInit",{clearMagazineCargoGlobal _this; clearWeaponCargoGlobal _this}];

And the spawned ambient civilian vehicles will have no magazines or weapons in their cargo space. Notice the clearMagazineCargoGlobal command here, if you are not using Global, this does not work in multiplayer dedicated server.