User Tools

Site Tools


arma2:missions:howto-remove-weapon-cargo-from-ambient-vehicles

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.

arma2/missions/howto-remove-weapon-cargo-from-ambient-vehicles.txt · Last modified: 2024/08/01 21:23 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.