Arma 2 Editing & Scripting - Ammo crate script
Here's a video of me making scripts for clearing ammo crates and adding your own content, aswell as defining different boxes in the same script, that way you can avoid making lots of scripts for ammo crates.
The site where to find the ammo classnames
http://www.armaholic.com/forums.php?m=posts&q=6751
Different commands used in the script
http://www.arma2.com/comref/comref.html
_box = _this select 0; /// Ammo box
_role = _this select 1; //// Role select
ClearWeaponcargo _box;
ClearMagazineCargo _box;
///// M16A2
if (_role == 1) then {
_Box addweaponcargo ["M16A2",20];
_Box addMagazineCargo ["30Rnd_556x45_Stanag",100];
};
Other Videos By OksmanTV
Other Statistics
ARMA 2 Statistics For OksmanTV
There are 516,464 views in 166 videos for ARMA 2. His channel published over 1 day worth of content for the game, or 30.63% of the total watchable video for ARMA 2 on OksmanTV's YouTube channel.