Jump to content
Sign in to follow this  
Genderbent

Firstaidkits not being added to supply box

Recommended Posts

if (!isServer) exitWith {};

{

clearMagazineCargoGlobal _x;

clearItemCargoGlobal _x;

clearWeaponCargoGlobal _x;

clearBackpackCargoGlobal _x;

_x additemcargoglobal ["SatchelCharge_Remote_Mag", 5];

_x addItemCargoGlobal ["arifle_mxc_black_f", 2];

_x addMagazineCargoGlobal ["30Rnd_65x39_caseless_mag", 40];

_x addMagazineCargoGlobal ["100Rnd_65x39_caseless_mag", 15];

_x additemcargoglobal ["Firstaidkit", 20];

}

forEach [box1,box2,box3];

Every item will apear in the box as they should except for the firstaidkits

why the hell is this?

Share this post


Link to post
Share on other sites

I would think it would work. Not sure why it would make a difference, but try putting the FAKs at the top of the list instead of the bottom. And/or, change the MXC line to 'addWeaponCargoGlobal'. Perhaps calling it an item instead of a weapon would bug the items that come after. Not sure, but those are the troubleshooting steps I would take.

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  

×