Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ::: ::: ::: ::: ::: :::
- :+: :+: :+: :+: :+: :+:
- +:+ +:+ +:+ +:+ +:+ +:+
- +#+ +#+ +#+ +#+ +#+ +#+
- +#+ +#+ +#+ +#+ +#+ +#+
- #+# #+# #+# #+# #+# #+#
- ### ### ### ### ### ###
- Helicopter ammo box drop script (aw_drop.sqf) was written by Jester [AW] of AhoyWorld.co.uk
- You may add or alter this code to your liking as long as you leave the authors name in place.
- set _reloadtime = 30 to however many seconds you want before it is available to use again.
- place "this addAction ["<t color='#0000f6'>Ammo Drop</t>", "aw_drop.sqf",[1],0,false,true,""," driver _target == _this"];" in the helicopter/plane init field.
- change the loadouts to the crate to your likings.
- */
- _chute = createVehicle ["G_Parachute_02_F", [100, 100, 100], [], 0, 'FLY'];
- _chute setPos [getMarkerPos "marker_3" select 0, getMarkerPos "marker_3" select 1, 100];
- _crate = createVehicle ["B_supplyCrate_F", position _chute, [], 0, 'NONE'];
- _crate attachTo [_chute, [0, 0, -1.3]];
- _crate allowdamage false;
- // clear crate - leaves medkits in place. add clearItemCargoGlobal _crate; to remove medkits
- clearWeaponCargoGlobal _crate;
- clearMagazineCargoGlobal _crate;
- clearItemCargoGlobal _crate;
- // fill crate with our junk
- _crate addWeaponCargoGlobal ["rhs_weap_m4_carryhandle_pmag", 2];
- _crate addMagazineCargoGlobal ["DemoCharge_Remote_Mag", 4];
- _crate addMagazineCargoGlobal ["SatchelCharge_Remote_Mag", 4];
- _crate addItemCargoGlobal ["ACE_Clacker", 2];
- _crate addItemCargoGlobal ["ACE_DefusalKit", 2];
- _crate addItemCargoGlobal ["ACE_Bodybag", 5];
- _crate addItemCargoGlobal ["ACE_EarBuds", 10];
- _crate addItemCargoGlobal ["ACE_fieldDressing", 20];
- _crate addItemCargoGlobal ["ACE_Morphine", 10];
- _crate addItemCargoGlobal ["ACE_epinephrine", 10];
- _crate addItemCargoGlobal ["SmokeShell", 10];
- _crate addItemCargoGlobal ["SmokeShellRed", 10];
- _crate addItemCargoGlobal ["SmokeShellGreen", 10];
- _crate addMagazineCargoGlobal ["1Rnd_SmokeGreen_Grenade_shell", 10];
- _crate addMagazineCargoGlobal ["1Rnd_SmokeRed_Grenade_shell", 10];
- _crate addMagazineCargoGlobal ["1Rnd_Smoke_Grenade_shell", 10];
- _crate addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_Mk318_Stanag", 50];
- _crate addMagazineCargoGlobal ["rhsusf_100Rnd_556x45_soft_pouch", 20];
- _crate addMagazineCargoGlobal ["rhs_mag_M433_HEDP", 30];
- _crate addMagazineCargoGlobal ["rhsusf_5Rnd_300winmag_xm2010", 4];
- _crate addMagazineCargoGlobal ["rhsusf_20Rnd_762x51_m118_special_Mag", 10];
- _crate addWeaponCargoGlobal ["rhs_weap_M136", 2];
- waitUntil {position _crate select 2 < 1 || isNull _chute};
- detach _crate;
- _crate setPos [position _crate select 0, position _crate select 1, 0];
- _smoke = "SmokeShellYellow" createVehicle [getPos _crate select 0, getPos _crate select 1,5];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement