Advertisement
Guest User

DestroyArtillery.sqf

a guest
Jul 14th, 2020
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. [true, ["task3"], ["Destroy Artillery", "Destroy Artillery", "Artillery"], [3996.7,5144.11,0] ,"Assigned", 1, true, "destroy"] call BIS_fnc_taskCreate;
  2.  
  3. setDate [2020, 7, 24, 23, 0];
  4.  
  5. sleep 1;
  6.  
  7. _arty1 = createVehicle ["I_Truck_02_MRL_F", GetMarkerPos "artyspawn1", [], 0 ,"NONE"];
  8. createVehicleCrew _arty1;
  9.  
  10. _arty2 = createVehicle ["I_Truck_02_MRL_F", GetMarkerPos "artyspawn2", [], 0 ,"NONE"];
  11. createVehicleCrew _arty2;
  12.  
  13. _arty3 = createVehicle ["I_Truck_02_MRL_F", GetMarkerPos "artyspawn3", [], 0 ,"NONE"];
  14. createVehicleCrew _arty3;
  15.  
  16.  
  17. waitUntil {{alive _x} count (units _arty1) == 0} &&
  18. waitUntil {{alive _x} count (units _arty2) == 0} &&
  19. waitUntil {{alive _x} count (units _arty3) == 0};
  20.  
  21. ["task3", "SUCCEEDED", true] call BIS_fnc_taskSetState;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement