Jump to content
Sign in to follow this  
Dennistp

Adding things to a ammocrate or supplybox ??

Recommended Posts

Hi guys

Anyone know how to add Gear, weapons, ammo and bagpacks to a ammocrate or supplybox in arma 3 ?? i know there already are ammoboxes, but non of them have backpacks or gear, only weapons and ammo:(

I need it in a mission im working on.

hope you can help.

Dennis

Share this post


Link to post
Share on other sites
Hi guys

Anyone know how to add Gear, weapons, ammo and bagpacks to a ammocrate or supplybox in arma 3 ?? i know there already are ammoboxes, but non of them have backpacks or gear, only weapons and ammo:(

I need it in a mission im working on.

hope you can help.

Dennis

When spawning an ammo crate, under the name section write something (i.e. box1) and then in the description/initialisation field write

box1 additemcargo item_name

replace item_name with the actual item name. A thread about item names can be found here:

http://www.armaholic.com/forums.php?m=posts&q=20801

Share this post


Link to post
Share on other sites

thank you but cant get it to work, i write it like this, box1 additemcargo "B_AssaultPack_khk" and also like this, box1 additemcargo ("B_AssaultPack_khk"),1); nothing works

Share this post


Link to post
Share on other sites

box1 addbackpackcargo ["B_AssaultPack_khk",1];

addWeaponCargo for weapons,

addMagazineCargo for mags and explosives.

Share this post


Link to post
Share on other sites

replace "box1" with "this"

"box1" names a box, but since you are putting it in the local init of that box, "this" would work better.

Visit THIS thread to get all of the working codes for the init of ammo boxes.

If you to through a few pages of comments you will find already coded lines for you to copy/paste

Share this post


Link to post
Share on other sites

I got it now, thank you guys :) and it works fine with box1 ;)

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  

×