bejiitas_wrath

Spawn airplane.

Sep 14th, 2020
1,264
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. _crew = creategroup WEST;
  2. _CounterHeloType = selectRandom ["rhsgref_cdf_b_reg_Mi17Sh","rhsgref_cdf_b_Mi24D","rhsgref_b_mi24g_CAS","rhsgref_cdf_b_Mi35","rhsgref_cdf_b_su25","rhsgref_cdf_b_mig29s"];
  3.  
  4. _heli = [[11479.7,2284.23,1.33514e-005], 112.516, _CounterHeloType, west] call bis_fnc_spawnvehicle;
  5.  
  6. [_heli select 2, Loc, 1200] call BIS_fnc_taskPatrol;
  7. HeliCrew = _heli select 2;
  8.  
  9. _heliVeh = _heli select 0;
  10.  
  11. _heliVeh addEventHandler ["Fired",{ (_this select 0) setVehicleAmmo 1 }];
  12. _heliVeh addeventhandler ["Fuel", {(_this select 0) setfuel 1}];
RAW Paste Data