WeaponsBox.sqf 918 B

12345678910111213141516171819202122232425262728293031323334
  1. ///////////////////////////////////////////////////////////////
  2. // 501st Legion - WeaponsBox Script
  3. // File: WeaponsBox.sqf
  4. // By: CC Cruisie
  5. // Creation Date: 01/15/2018
  6. //
  7. // Change Log:
  8. //
  9. //
  10. ///////////////////////////////////////////////////////////////
  11. ///////////// /\/ ( ) T E S ///////////////////////////////////
  12. // Create a ammobox and place the following code in the init line of the box.
  13. //
  14. // hnill = this execVM "crates\WeaponsBox.sqf";
  15. ///////////////////////////////////////////////////////////////
  16. _crate = _this select 0;
  17. //Clear pre-existing Inventory
  18. clearWeaponCargo _crate;
  19. clearMagazineCargo _crate;
  20. //Weapons
  21. //_crate addWeaponCargo ["CUP_arifle_M16A4_Base", 50];
  22. //Attachments
  23. //_crate addItemCargo ["CUP_optic_ACOG", 50];
  24. //_crate addItemCargo ["optic_Arco", 50];
  25. //_crate addItemCargo ["optic_Hamr", 50];
  26. //Ammo
  27. //_crate addMagazineCargo ["MEU_30Rnd_M855A1_556x45_Stanag", 200];