
ADD WEAPONS/ITEMS/BACKPACK
When you placed unit on your mission, double-click on and on "Initialisation" ou "INIT" place the following code :
​
Note : exemple done with Arma 2, work with Arma 3 (take weapon ID in keeping your mouse on object in EDEN Editor)
Add 1 weapon/item
this addweapon "weapon_ID";
Exemple : this addweapon "M4A1_AIM_SD_camo";
Add 1 item :
this additem "item_ID";
Exemple : this additem "NVGoggles";
Ass 1 magazine :
this addmagazine "magazine_ID";
Exemple : this addmagazine "30Rnd_556x45_StanagSD";
Add 1 backpack :
this addmagazine ""backpack_ID";
Exemple : this addBackpack "B_TacticalPack_blk";
Add X weapons/items inside gear or box
this addweaponcargo ["item_ID",number];
Exemple : this addweapon ["M4A1_AIM_SD_camo",3];
​
​
​
Add X weapons/items inside box (Solo/Multi/Server)
​
box_name additemCargoGlobal ["item_ID",number];
Exemple : bb1 additemCargoGlobal ["Exile_Item_BreachingCharge_BigMomma",1];