Guest User

Untitled

a guest
Jan 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. _var0 = 1;
  2. _var1 = round(random 5);
  3. _var2 = round(random 3);
  4. _var3 = round(random 6);
  5. _var4 = round(random 1);
  6. _var5 = round(random 3);
  7. _var6 = 10;
  8. _var7 = round(random 3)*_var2 + 20;
  9. _cars = ["S1203_TK_CIV_EP1","datsun1_civil_3_open","Volha_2_TK_CIV_EP1","car_hatchback","Old_moto_TK_Civ_EP1","LadaLM"];
  10. _peeps = ["TK_GUE_Soldier_EP1","TK_GUE_Warlord_EP1","Functionary2","TK_CIV_Worker02_EP1","TK_CIV_Takistani04_EP1","TK_CIV_Takistani05_EP1","TK_CIV_Takistani03_EP1"];
  11. _ex1 = round(random 3);
  12. _cor1 = ((round(random 4))*.1);
  13. _cor2 = -(((round(random 4))*.1))-.6;
  14. _cor3 = -(((round(random 4))*.1))-.6;
  15. _count1 = round(Random 2);
  16. _ied = [ied0,ied1,ied2];
  17. _time = round(random 60) + 15;
  18.  
  19.  
  20.  
  21. _c1 = _cars select _var1 createVehicle (getmarkerpos "carspawn");
  22. private "_c1";
  23. if (_var3 >= 2) then {_peeps select _var3 createUnit [getmarkerpos "unitspawn",alpha, "this moveindriver _c1;", 1, "sergeant"]};
  24. if (_var3 <= 1) then {_peeps select _var3 createUnit [getmarkerpos "unitspawn",alpha3, "this moveindriver _c1;", 1, "sergeant"]};
  25.  
  26. _c1 domove (getmarkerpos "gate");
  27.  
  28.  
  29. _c1 addaction ["Car is Clear", "ok.sqf"];
  30.  
  31. _c1 setdir 120;
  32.  
  33. (driver _c1) addAction ["Hide body","hidebody.sqs",nil,1.4,true,true,"","_this!=_target and !alive _target and _this distance _target<4"];
  34.  
  35. if (_ex1 == 1) then {(_ied select _count1) attachto [_c1,[(_cor1),(_cor2),(_cor3)]];};
  36. if (_ex1 == 0) then {};
  37.  
  38.  
  39. sleep _time;
  40.  
  41. next = 1;
  42. publicvariable "next";
  43. execVM "next.sqf";
  44.  
  45. _timer = (round(random 15)) + 9;
  46. _rand1 = round(random 2);
  47.  
  48. if (_rand1!=0) then {
  49. waituntil {(((IED0 distance (getmarkerpos "gate")) < 12) || ((IED1 distance (getmarkerpos "gate")) < 12) || ((IED2 distance (getmarkerpos "gate")) < 12))};
  50. sleep _timer;
  51. if (alive (driver _c1)) then {
  52. "Bo_GBU12_LGB" createVehicle (getpos (IED0));
  53. "Bo_GBU12_LGB" createVehicle (getpos (IED1));
  54. "Bo_GBU12_LGB" createVehicle (getpos (IED2));
  55. detach (IED0);
  56. (IED0) setpos [0,0,0];
  57. detach (IED1);
  58. (IED1) setpos [0,0,0];
  59. detach (IED2);
  60. (IED2) setpos [0,0,0];
  61. };
  62. };
Add Comment
Please, Sign In to add comment