Advertisement
iaretechnician

its a TRAP! SQF

Feb 18th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 5.36 KB | None | 0 0
  1. _this = createCenter east;
  2. _this setFriend [west, 0.0085775219];
  3. _center_1 = _this;
  4.  
  5. _group_0 = createGroup _center_1;
  6.  
  7. _unit_0 = objNull;
  8. if (true) then
  9. {
  10.   _this = _group_0 createUnit ["BanditW1_DZ", [8686.9287, 2460.7881, 0.15899181], [], 0, "CAN_COLLIDE"];
  11.   _unit_0 = _this;
  12.   _this setVehicleArmor 0;
  13.   _this setUnitAbility 0.60000002;
  14.   if (false) then {_group_0 selectLeader _this;};
  15. };
  16.  
  17.  
  18. _vehicle_0 = objNull;
  19. if (true) then
  20. {
  21.   _this = createVehicle ["SkodaBlue_DZE3", [8690.168, 2463.0261, 9.0122223e-005], [], 0, "CAN_COLLIDE"];
  22.   _vehicle_0 = _this;
  23.   _this setVehicleArmor 0;
  24.   _this setPos [8690.168, 2463.0261, 9.0122223e-005];
  25. };
  26.  
  27. _vehicle_1 = objNull;
  28. if (true) then
  29. {
  30.   _this = createVehicle ["EvMoney", [8686.2734, 2464.5918, 4.2915344e-006], [], 0, "CAN_COLLIDE"];
  31.   _vehicle_1 = _this;
  32.   _this setPos [8686.2734, 2464.5918, 4.2915344e-006];
  33. };
  34.  
  35. _vehicle_3 = objNull;
  36. if (true) then
  37. {
  38.   _this = createVehicle ["EvMoney", [8685.8154, 2465.322, -1.3828278e-005], [], 0, "CAN_COLLIDE"];
  39.   _vehicle_3 = _this;
  40.   _this setPos [8685.8154, 2465.322, -1.3828278e-005];
  41. };
  42.  
  43. _vehicle_5 = objNull;
  44. if (true) then
  45. {
  46.   _this = createVehicle ["EvMoney", [8686.2012, 2464.5725, 3.6716461e-005], [], 0, "CAN_COLLIDE"];
  47.   _vehicle_5 = _this;
  48.   _this setPos [8686.2012, 2464.5725, 3.6716461e-005];
  49. };
  50.  
  51. _vehicle_7 = objNull;
  52. if (true) then
  53. {
  54.   _this = createVehicle ["EvMoney", [8685.8828, 2464.8406, 4.6253204e-005], [], 0, "CAN_COLLIDE"];
  55.   _vehicle_7 = _this;
  56.   _this setPos [8685.8828, 2464.8406, 4.6253204e-005];
  57. };
  58.  
  59. _vehicle_9 = objNull;
  60. if (true) then
  61. {
  62.   _this = createVehicle ["EvMoney", [8686.1172, 2465.0254, 0.033331033], [], 0, "CAN_COLLIDE"];
  63.   _vehicle_9 = _this;
  64.   _this setPos [8686.1172, 2465.0254, 0.033331033];
  65. };
  66.  
  67. _vehicle_11 = objNull;
  68. if (true) then
  69. {
  70.   _this = createVehicle ["EvMoney", [8685.9355, 2464.9712, 4.2915344e-005], [], 0, "CAN_COLLIDE"];
  71.   _vehicle_11 = _this;
  72.   _this setPos [8685.9355, 2464.9712, 4.2915344e-005];
  73. };
  74.  
  75. _vehicle_13 = objNull;
  76. if (true) then
  77. {
  78.   _this = createVehicle ["EvMoney", [8685.9355, 2464.9712, 4.2915344e-005], [], 0, "CAN_COLLIDE"];
  79.   _vehicle_13 = _this;
  80.   _this setPos [8685.9355, 2464.9712, 4.2915344e-005];
  81. };
  82.  
  83. _vehicle_15 = objNull;
  84. if (true) then
  85. {
  86.   _this = createVehicle ["EvMoney", [8686.085, 2465.0918, 5.7220459e-006], [], 0, "CAN_COLLIDE"];
  87.   _vehicle_15 = _this;
  88.   _this setPos [8686.085, 2465.0918, 5.7220459e-006];
  89. };
  90.  
  91. _vehicle_17 = objNull;
  92. if (true) then
  93. {
  94.   _this = createVehicle ["EvMoney", [8686.2305, 2465.355, 1.5258789e-005], [], 0, "CAN_COLLIDE"];
  95.   _vehicle_17 = _this;
  96.   _this setPos [8686.2305, 2465.355, 1.5258789e-005];
  97. };
  98.  
  99. _vehicle_19 = objNull;
  100. if (true) then
  101. {
  102.   _this = createVehicle ["EvMoney", [8686.3525, 2465.4255, 2.3365021e-005], [], 0, "CAN_COLLIDE"];
  103.   _vehicle_19 = _this;
  104.   _this setPos [8686.3525, 2465.4255, 2.3365021e-005];
  105. };
  106.  
  107. _vehicle_21 = objNull;
  108. if (true) then
  109. {
  110.   _this = createVehicle ["EvMoney", [8686.46, 2465.0759, 2.9087067e-005], [], 0, "CAN_COLLIDE"];
  111.   _vehicle_21 = _this;
  112.   _this setPos [8686.46, 2465.0759, 2.9087067e-005];
  113. };
  114.  
  115. _vehicle_23 = objNull;
  116. if (true) then
  117. {
  118.   _this = createVehicle ["Suitcase", [8687.7764, 2465.2119, 1.7642975e-005], [], 0, "CAN_COLLIDE"];
  119.   _vehicle_23 = _this;
  120.   _this setPos [8687.7764, 2465.2119, 1.7642975e-005];
  121. };
  122.  
  123. _vehicle_24 = objNull;
  124. if (true) then
  125. {
  126.   _this = createVehicle ["WeaponHolder_M4A1", [8686.7412, 2462.6443, 3.8146973e-005], [], 0, "CAN_COLLIDE"];
  127.   _vehicle_24 = _this;
  128.   _this setPos [8686.7412, 2462.6443, 3.8146973e-005];
  129. };
  130.  
  131. _unit_2 = objNull;
  132. if (true) then
  133. {
  134.   _this = _group_0 createUnit ["UKSF_wdl_mrk", [8686.4395, 2461.4624, 7.390976e-005], [], 0, "CAN_COLLIDE"];
  135.   _unit_2 = _this;
  136.   _this setVehicleArmor 0.015321873;
  137.   _this setVehicleAmmo 0.001833239;
  138.   _this setUnitAbility 0.60000002;
  139.   if (true) then {_group_0 selectLeader _this;};
  140. };
  141.  
  142.  
  143.  
  144. _this = _group_0 addWaypoint [[8679.665, 2448.1973], 0];
  145. _this setWaypointCombatMode "BLUE";
  146. _this setWaypointSpeed "LIMITED";
  147. _this setWaypointBehaviour "STEALTH";
  148. _waypoint_0 = _this;
  149.  
  150. _this = _group_0 addWaypoint [[8671.3457, 2462.2471], 0];
  151. _this setWaypointType "HOLD";
  152. _this setWaypointCombatMode "BLUE";
  153. _waypoint_1 = _this;
  154.  
  155. _this = _group_0 addWaypoint [[8690.1611, 2458.2354], 0];
  156. _this setWaypointCombatMode "RED";
  157. _this setWaypointBehaviour "COMBAT";
  158. _waypoint_2 = _this;
  159.  
  160. _this = createTrigger ["EmptyDetector", [8688.0723, 2465.3633]];
  161. _this setTriggerArea [10, 10, 0, false];
  162. _this setTriggerActivation ["WEST", "PRESENT", true];
  163. _this setTriggerType "SWITCH";
  164. _this synchronizeWaypoint [_waypoint_1];
  165. _trigger_0 = _this;
  166.  
  167. _unit_8 = objNull;
  168. if (true) then
  169. {
  170.   _this = _group_0 createUnit ["ETaliban9", [8664.5293, 2441.6821], [], 0, "CAN_COLLIDE"];
  171.   _unit_8 = _this;
  172.   _this setUnitAbility 0.60000002;
  173.   if (false) then {_group_0 selectLeader _this;};
  174. };
  175.  
  176. _unit_9 = objNull;
  177. if (true) then
  178. {
  179.   _this = _group_0 createUnit ["ETaliban1", [8665.9404, 2441.845], [], 0, "CAN_COLLIDE"];
  180.   _unit_9 = _this;
  181.   _this setUnitAbility 0.60000002;
  182.   if (true) then {_group_0 selectLeader _this;};
  183. };
  184.  
  185. _unit_10 = objNull;
  186. if (true) then
  187. {
  188.   _this = _group_0 createUnit ["ETaliban7", [8665.6152, 2440.8132], [], 0, "CAN_COLLIDE"];
  189.   _unit_10 = _this;
  190.   _this setUnitAbility 0.60000002;
  191.   if (false) then {_group_0 selectLeader _this;};
  192. };
  193.  
  194. processInitCommands;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement