/* * Author: Hizumi & IndigoFox * * Create Ammo resupply box for the 17th Battalion * * Arguments: * 0: Vehicle - * 1: Position - * * Return Value: * Function executed * * Example: * [box] call milsim_fnc_createCSWBox; // create ammo box via init line of editor object * [objNull, pos] call milsim_fnc_createCSWBox; // create ammo box via zeus module * * Public: Yes * * Note: For gathering: formatText ["%1", [ ["containerClassname", typeOf cursorObject], ["backpack", (backpackCargo cursorObject) call BIS_fnc_consolidateArray], ["item", (itemCargo cursorObject) call BIS_fnc_consolidateArray], ["magazine", (magazineCargo cursorObject) call BIS_fnc_consolidateArray], ["magazineAmmo", magazinesAmmoCargo cursorObject], ["weapon", (weaponCargo cursorObject) call BIS_fnc_consolidateArray] ]]; */ params [ ["_box", objNull, [objNull]], ["_pos", [0,0,0], [[]], 3] ]; [_box, "CSW", _pos] call milsim_fnc_createBox;