smokeOut

generic mission Malden ext

Jun 8th, 2023
258
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 35.55 KB | None | 0 0
  1. // Export of 'generic_mission_ext.Malden' by smokeOut on v0.9
  2.  
  3. ///////////////////////////////////////////////////////////////////////////////////////////
  4. // Init
  5. params [["_layerWhiteList",[],[[]]],["_layerBlacklist",[],[[]]],["_posCenter",[0,0,0],[[]]],["_dir",0,[0]],["_idBlacklist",[],[[]]]];
  6. private _allWhitelisted = _layerWhiteList isEqualTo [];
  7. private _layerRoot = (_allWhitelisted || {true in _layerWhiteList}) && {!(true in _layerBlackList)};
  8.  
  9.  
  10. ///////////////////////////////////////////////////////////////////////////////////////////
  11. // Markers
  12. private _markers = [];
  13. private _markerIDs = [];
  14.  
  15.  
  16. ///////////////////////////////////////////////////////////////////////////////////////////
  17. // Groups
  18. private _groups = [];
  19. private _groupIDs = [];
  20.  
  21. private _item0 = grpNull;
  22. if (_layerRoot) then {
  23.     _item0 = createGroup civilian;
  24.     _this = _item0;
  25.     _groups pushback _this;
  26.     _groupIDs pushback 0;
  27. };
  28.  
  29. private _item34 = grpNull;
  30. if (_layerRoot) then {
  31.     _item34 = createGroup resistance;
  32.     _this = _item34;
  33.     _groups pushback _this;
  34.     _groupIDs pushback 34;
  35. };
  36.  
  37. private _item39 = grpNull;
  38. if (_layerRoot) then {
  39.     _item39 = createGroup resistance;
  40.     _this = _item39;
  41.     _groups pushback _this;
  42.     _groupIDs pushback 39;
  43. };
  44.  
  45. private _item44 = grpNull;
  46. if (_layerRoot) then {
  47.     _item44 = createGroup resistance;
  48.     _this = _item44;
  49.     _groups pushback _this;
  50.     _groupIDs pushback 44;
  51. };
  52.  
  53. private _item54 = grpNull;
  54. if (_layerRoot) then {
  55.     _item54 = createGroup resistance;
  56.     _this = _item54;
  57.     _groups pushback _this;
  58.     _groupIDs pushback 54;
  59. };
  60.  
  61. private _item66 = grpNull;
  62. if (_layerRoot) then {
  63.     _item66 = createGroup resistance;
  64.     _this = _item66;
  65.     _groups pushback _this;
  66.     _groupIDs pushback 66;
  67. };
  68.  
  69. private _item99 = grpNull;
  70. if (_layerRoot) then {
  71.     _item99 = createGroup resistance;
  72.     _this = _item99;
  73.     _groups pushback _this;
  74.     _groupIDs pushback 99;
  75. };
  76.  
  77.  
  78. ///////////////////////////////////////////////////////////////////////////////////////////
  79. // Objects
  80. private _objects = [];
  81. private _objectIDs = [];
  82.  
  83. private _item1 = objNull;
  84. if (_layerRoot) then {
  85.     _item1 = _item0 createUnit ["C_IDAP_Man_AidWorker_05_F",[9507.41,3159.61,0],[],0,"CAN_COLLIDE"];
  86.     _item0 selectLeader _item1;
  87.     _this = _item1;
  88.     _objects pushback _this;
  89.     _objectIDs pushback 1;
  90.     _this setPosWorld [9507.41,3159.66,43.2454];
  91.     _this setVectorDirAndUp [[-0.216883,0.976198,0],[0,0,1]];
  92.     _this setUnitLoadout [[],[],[],["U_C_IDAP_Man_casual_F",[["FirstAidKit",2]]],[],[],"H_Cap_blk","G_Shades_Red",[],["","","","ItemCompass","ItemWatch",""]];
  93.     selectPlayer _this;
  94.     _this setname "Greer Campbell";;
  95.     _this setface "GreekHead_A3_07";;
  96.     _this setspeaker "Male11ENG";;
  97.     _this setpitch 1;;
  98. };
  99.  
  100. private _item2 = objNull;
  101. if (_layerRoot) then {
  102.     _item2 = createVehicle ["Land_Wreck_Offroad_F",[9472.09,3309.34,-1.90735e-006],[],0,"CAN_COLLIDE"];
  103.     _this = _item2;
  104.     _objects pushback _this;
  105.     _objectIDs pushback 2;
  106.     _this setPosWorld [9472.09,3309.34,32.2648];
  107.     _this setVectorDirAndUp [[-0.980429,-0.196871,0],[0,0,1]];
  108. };
  109.  
  110. private _item19 = objNull;
  111. if (_layerRoot) then {
  112.     _item19 = createVehicle ["Land_WoodenTable_small_F",[9463.19,3283.66,0.558826],[],0,"CAN_COLLIDE"];
  113.     _this = _item19;
  114.     _objects pushback _this;
  115.     _objectIDs pushback 19;
  116.     _this setPosWorld [9463.19,3283.66,32.3211];
  117.     _this setVectorDirAndUp [[0.999491,-0.0319043,0],[0,0,1]];
  118. };
  119.  
  120. private _item20 = objNull;
  121. if (_layerRoot) then {
  122.     _item20 = createVehicle ["Land_CampingChair_V2_F",[9463.51,3284.9,0.55883],[],0,"CAN_COLLIDE"];
  123.     _this = _item20;
  124.     _objects pushback _this;
  125.     _objectIDs pushback 20;
  126.     _this setPosWorld [9463.51,3284.9,32.3953];
  127.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  128. };
  129.  
  130. private _item25 = objNull;
  131. if (_layerRoot) then {
  132.     _item25 = createVehicle ["Land_SurvivalRadio_F",[9463.2,3283.59,1.423],[],0,"CAN_COLLIDE"];
  133.     _this = _item25;
  134.     _objects pushback _this;
  135.     _objectIDs pushback 25;
  136.     _this setPosWorld [9463.2,3283.59,32.8558];
  137.     _this setVectorDirAndUp [[-0.430763,0.902465,0],[0,0,1]];
  138.     radio1 = _this;
  139.     _this setVehicleVarName "radio1";
  140. };
  141.  
  142. private _item26 = objNull;
  143. if (_layerRoot) then {
  144.     _item26 = createVehicle ["Land_CarBattery_02_F",[9462.73,3283.52,1.42342],[],0,"CAN_COLLIDE"];
  145.     _this = _item26;
  146.     _objects pushback _this;
  147.     _objectIDs pushback 26;
  148.     _this setPosWorld [9462.73,3283.52,32.8399];
  149.     _this setVectorDirAndUp [[0.126719,0.991939,0],[0,0,1]];
  150. };
  151.  
  152. private _item28 = objNull;
  153. if (_layerRoot) then {
  154.     _item28 = createVehicle ["Land_MultiMeter_F",[9462.9,3283.75,1.42342],[],0,"CAN_COLLIDE"];
  155.     _this = _item28;
  156.     _objects pushback _this;
  157.     _objectIDs pushback 28;
  158.     _this setPosWorld [9462.9,3283.75,32.761];
  159.     _this setVectorDirAndUp [[0.449224,-0.893419,0],[0,0,1]];
  160. };
  161.  
  162. private _item35 = objNull;
  163. if (_layerRoot) then {
  164.     _item35 = _item34 createUnit ["I_C_Soldier_Para_6_F",[9643.35,3329.29,0],[],0,"CAN_COLLIDE"];
  165.     _item34 selectLeader _item35;
  166.     _this = _item35;
  167.     _objects pushback _this;
  168.     _objectIDs pushback 35;
  169.     _this setPosWorld [9643.35,3329.34,44.2514];
  170.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  171.     _this setRank "SERGEANT";
  172.     _this setname "Tui Mikaere";;
  173.     _this setface "TanoanHead_A3_07";;
  174.     _this setspeaker "male03fre";;
  175.     _this setpitch 0.974635;;
  176. };
  177.  
  178. private _item36 = objNull;
  179. if (_layerRoot) then {
  180.     _item36 = _item34 createUnit ["I_C_Soldier_Para_5_F",[9648.35,3324.29,0],[],0,"CAN_COLLIDE"];
  181.     _this = _item36;
  182.     _objects pushback _this;
  183.     _objectIDs pushback 36;
  184.     _this setPosWorld [9648.35,3324.34,44.2514];
  185.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  186.     _this setSkill 0.4;
  187.     _this setname "Hoaka Vunibaka";;
  188.     _this setface "TanoanHead_A3_02";;
  189.     _this setspeaker "male02fre";;
  190.     _this setpitch 0.977454;;
  191. };
  192.  
  193. private _item37 = objNull;
  194. if (_layerRoot) then {
  195.     _item37 = _item34 createUnit ["I_C_Soldier_Para_7_F",[9638.35,3324.29,0],[],0,"CAN_COLLIDE"];
  196.     _this = _item37;
  197.     _objects pushback _this;
  198.     _objectIDs pushback 37;
  199.     _this setPosWorld [9638.35,3324.34,44.2514];
  200.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  201.     _this setSkill 0.45;
  202.     _this setRank "CORPORAL";
  203.     _this setname "Maro Mara";;
  204.     _this setface "TanoanHead_A3_03";;
  205.     _this setspeaker "male01fre";;
  206.     _this setpitch 1.00234;;
  207. };
  208.  
  209. private _item38 = objNull;
  210. if (_layerRoot) then {
  211.     _item38 = _item34 createUnit ["I_C_Soldier_Para_8_F",[9653.35,3319.29,0],[],0,"CAN_COLLIDE"];
  212.     _this = _item38;
  213.     _objects pushback _this;
  214.     _objectIDs pushback 38;
  215.     _this setPosWorld [9653.35,3319.34,44.2514];
  216.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  217.     _this setSkill 0.4;
  218.     _this setname "Hekeoro Neho";;
  219.     _this setface "TanoanHead_A3_03";;
  220.     _this setspeaker "male02fre";;
  221.     _this setpitch 1.0086;;
  222. };
  223.  
  224. private _item40 = objNull;
  225. if (_layerRoot) then {
  226.     _item40 = _item39 createUnit ["I_C_Soldier_Para_2_F",[9670.67,3501.35,0],[],0,"CAN_COLLIDE"];
  227.     _item39 selectLeader _item40;
  228.     _this = _item40;
  229.     _objects pushback _this;
  230.     _objectIDs pushback 40;
  231.     _this setPosWorld [9670.67,3501.4,36.2314];
  232.     _this setVectorDirAndUp [[-0.512557,-0.858653,0],[0,0,1]];
  233.     _this setRank "SERGEANT";
  234.     _this setname "Eloni Umbari";;
  235.     _this setface "TanoanHead_A3_07";;
  236.     _this setspeaker "male02fre";;
  237.     _this setpitch 1.02049;;
  238. };
  239.  
  240. private _item41 = objNull;
  241. if (_layerRoot) then {
  242.     _item41 = _item39 createUnit ["I_C_Soldier_Para_4_F",[9668.94,3508.2,0],[],0,"CAN_COLLIDE"];
  243.     _this = _item41;
  244.     _objects pushback _this;
  245.     _objectIDs pushback 41;
  246.     _this setPosWorld [9668.94,3508.25,36.2314];
  247.     _this setVectorDirAndUp [[-0.512557,-0.858653,0],[0,0,1]];
  248.     _this setSkill 0.4;
  249.     _this setname "Hie Timoci";;
  250.     _this setface "TanoanHead_A3_07";;
  251.     _this setspeaker "male03fre";;
  252.     _this setpitch 0.965879;;
  253. };
  254.  
  255. private _item42 = objNull;
  256. if (_layerRoot) then {
  257.     _item42 = _item39 createUnit ["I_C_Soldier_Para_1_F",[9677.53,3503.08,0],[],0,"CAN_COLLIDE"];
  258.     _this = _item42;
  259.     _objects pushback _this;
  260.     _objectIDs pushback 42;
  261.     _this setPosWorld [9677.53,3503.13,36.2314];
  262.     _this setVectorDirAndUp [[-0.512557,-0.858653,0],[0,0,1]];
  263.     _this setSkill 0.45;
  264.     _this setRank "CORPORAL";
  265.     _this setname "Tua Bole";;
  266.     _this setface "TanoanHead_A3_03";;
  267.     _this setspeaker "male01fre";;
  268.     _this setpitch 0.964222;;
  269. };
  270.  
  271. private _item43 = objNull;
  272. if (_layerRoot) then {
  273.     _item43 = _item39 createUnit ["I_C_Soldier_Para_3_F",[9667.21,3515.06,0],[],0,"CAN_COLLIDE"];
  274.     _this = _item43;
  275.     _objects pushback _this;
  276.     _objectIDs pushback 43;
  277.     _this setPosWorld [9667.21,3515.11,36.2314];
  278.     _this setVectorDirAndUp [[-0.512557,-0.858653,0],[0,0,1]];
  279.     _this setSkill 0.4;
  280.     _this setname "Wehilani Ieremia";;
  281.     _this setface "TanoanHead_A3_04";;
  282.     _this setspeaker "male03fre";;
  283.     _this setpitch 0.991111;;
  284. };
  285.  
  286. private _item45 = objNull;
  287. if (_layerRoot) then {
  288.     _item45 = _item44 createUnit ["I_C_Soldier_Bandit_4_F",[9792.86,3968.06,0],[],0,"CAN_COLLIDE"];
  289.     _item44 selectLeader _item45;
  290.     _this = _item45;
  291.     _objects pushback _this;
  292.     _objectIDs pushback 45;
  293.     _this setPosWorld [9792.86,3968.11,38.8914];
  294.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  295.     _this setRank "SERGEANT";
  296.     _this setname "Onaona Potaka";;
  297.     _this setface "TanoanHead_A3_01";;
  298.     _this setspeaker "male03fre";;
  299.     _this setpitch 1.00748;;
  300. };
  301.  
  302. private _item46 = objNull;
  303. if (_layerRoot) then {
  304.     _item46 = _item44 createUnit ["I_C_Soldier_Bandit_3_F",[9797.86,3963.06,0],[],0,"CAN_COLLIDE"];
  305.     _this = _item46;
  306.     _objects pushback _this;
  307.     _objectIDs pushback 46;
  308.     _this setPosWorld [9797.86,3963.11,38.8914];
  309.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  310.     _this setSkill 0.4;
  311.     _this setname "Haloa Timoci";;
  312.     _this setface "TanoanHead_A3_05";;
  313.     _this setspeaker "male02fre";;
  314.     _this setpitch 1.03922;;
  315. };
  316.  
  317. private _item47 = objNull;
  318. if (_layerRoot) then {
  319.     _item47 = _item44 createUnit ["I_C_Soldier_Bandit_7_F",[9787.86,3963.06,0],[],0,"CAN_COLLIDE"];
  320.     _this = _item47;
  321.     _objects pushback _this;
  322.     _objectIDs pushback 47;
  323.     _this setPosWorld [9787.86,3963.11,38.8914];
  324.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  325.     _this setSkill 0.45;
  326.     _this setRank "CORPORAL";
  327.     _this setname "Ihu Naituyaga";;
  328.     _this setface "TanoanHead_A3_01";;
  329.     _this setspeaker "male01fre";;
  330.     _this setpitch 1.01843;;
  331. };
  332.  
  333. private _item48 = objNull;
  334. if (_layerRoot) then {
  335.     _item48 = _item44 createUnit ["I_C_Soldier_Bandit_5_F",[9802.86,3958.06,3.8147e-006],[],0,"CAN_COLLIDE"];
  336.     _this = _item48;
  337.     _objects pushback _this;
  338.     _objectIDs pushback 48;
  339.     _this setPosWorld [9802.86,3958.11,38.8914];
  340.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  341.     _this setSkill 0.45;
  342.     _this setRank "CORPORAL";
  343.     _this setname "Tua Tonono";;
  344.     _this setface "TanoanHead_A3_07";;
  345.     _this setspeaker "male03fre";;
  346.     _this setpitch 0.996486;;
  347. };
  348.  
  349. private _item49 = objNull;
  350. if (_layerRoot) then {
  351.     _item49 = _item44 createUnit ["I_C_Soldier_Bandit_6_F",[9782.86,3958.06,0],[],0,"CAN_COLLIDE"];
  352.     _this = _item49;
  353.     _objects pushback _this;
  354.     _objectIDs pushback 49;
  355.     _this setPosWorld [9782.86,3958.11,38.8877];
  356.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  357.     _this setRank "SERGEANT";
  358.     _this setname "Fetu Pore";;
  359.     _this setface "TanoanHead_A3_08";;
  360.     _this setspeaker "male01fre";;
  361.     _this setpitch 0.959827;;
  362. };
  363.  
  364. private _item50 = objNull;
  365. if (_layerRoot) then {
  366.     _item50 = _item44 createUnit ["I_C_Soldier_Bandit_2_F",[9807.86,3953.06,0],[],0,"CAN_COLLIDE"];
  367.     _this = _item50;
  368.     _objects pushback _this;
  369.     _objectIDs pushback 50;
  370.     _this setPosWorld [9807.86,3953.11,38.8914];
  371.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  372.     _this setSkill 0.4;
  373.     _this setname "Iram Katalou";;
  374.     _this setface "TanoanHead_A3_04";;
  375.     _this setspeaker "male01fre";;
  376.     _this setpitch 0.963251;;
  377. };
  378.  
  379. private _item51 = objNull;
  380. if (_layerRoot) then {
  381.     _item51 = _item44 createUnit ["I_C_Soldier_Bandit_8_F",[9777.86,3953.06,0],[],0,"CAN_COLLIDE"];
  382.     _this = _item51;
  383.     _objects pushback _this;
  384.     _objectIDs pushback 51;
  385.     _this setPosWorld [9777.86,3953.11,38.8837];
  386.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  387.     _this setSkill 0.4;
  388.     _this setname "Liko Naituyaga";;
  389.     _this setface "TanoanHead_A3_02";;
  390.     _this setspeaker "male02fre";;
  391.     _this setpitch 0.981767;;
  392. };
  393.  
  394. private _item52 = objNull;
  395. if (_layerRoot) then {
  396.     _item52 = _item44 createUnit ["I_C_Soldier_Bandit_1_F",[9812.86,3948.06,0],[],0,"CAN_COLLIDE"];
  397.     _this = _item52;
  398.     _objects pushback _this;
  399.     _objectIDs pushback 52;
  400.     _this setPosWorld [9812.86,3948.11,38.9045];
  401.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  402.     _this setSkill 0.4;
  403.     _this setname "Tane Umbari";;
  404.     _this setface "TanoanHead_A3_07";;
  405.     _this setspeaker "male03fre";;
  406.     _this setpitch 1.02029;;
  407. };
  408.  
  409. private _item55 = objNull;
  410. if (_layerRoot) then {
  411.     _item55 = _item54 createUnit ["I_C_Soldier_Bandit_4_F",[9680.65,3861.38,3.8147e-006],[],0,"CAN_COLLIDE"];
  412.     _item54 selectLeader _item55;
  413.     _this = _item55;
  414.     _objects pushback _this;
  415.     _objectIDs pushback 55;
  416.     _this setPosWorld [9680.65,3861.43,38.8123];
  417.     _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
  418.     _this setRank "SERGEANT";
  419.     _this setname "Akamu Koroi";;
  420.     _this setface "TanoanHead_A3_01";;
  421.     _this setspeaker "male02fre";;
  422.     _this setpitch 0.97956;;
  423. };
  424.  
  425. private _item56 = objNull;
  426. if (_layerRoot) then {
  427.     _item56 = _item54 createUnit ["I_C_Soldier_Bandit_3_F",[9675.77,3866.49,3.8147e-006],[],0,"CAN_COLLIDE"];
  428.     _this = _item56;
  429.     _objects pushback _this;
  430.     _objectIDs pushback 56;
  431.     _this setPosWorld [9675.77,3866.54,38.8914];
  432.     _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
  433.     _this setSkill 0.4;
  434.     _this setname "Atonio Delai";;
  435.     _this setface "TanoanHead_A3_08";;
  436.     _this setspeaker "male01fre";;
  437.     _this setpitch 0.952655;;
  438. };
  439.  
  440. private _item57 = objNull;
  441. if (_layerRoot) then {
  442.     _item57 = _item54 createUnit ["I_C_Soldier_Bandit_7_F",[9685.77,3866.26,3.8147e-006],[],0,"CAN_COLLIDE"];
  443.     _this = _item57;
  444.     _objects pushback _this;
  445.     _objectIDs pushback 57;
  446.     _this setPosWorld [9685.77,3866.31,38.8914];
  447.     _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
  448.     _this setSkill 0.45;
  449.     _this setRank "CORPORAL";
  450.     _this setname "Tangaroa Waqanitoga";;
  451.     _this setface "TanoanHead_A3_05";;
  452.     _this setspeaker "male02fre";;
  453.     _this setpitch 1.00048;;
  454. };
  455.  
  456. private _item58 = objNull;
  457. if (_layerRoot) then {
  458.     _item58 = _item54 createUnit ["I_C_Soldier_Bandit_5_F",[9670.89,3871.61,7.62939e-006],[],0,"CAN_COLLIDE"];
  459.     _this = _item58;
  460.     _objects pushback _this;
  461.     _objectIDs pushback 58;
  462.     _this setPosWorld [9670.89,3871.66,38.8914];
  463.     _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
  464.     _this setSkill 0.45;
  465.     _this setRank "CORPORAL";
  466.     _this setname "Qiomars Mara";;
  467.     _this setface "TanoanHead_A3_05";;
  468.     _this setspeaker "male02fre";;
  469.     _this setpitch 0.992732;;
  470. };
  471.  
  472. private _item59 = objNull;
  473. if (_layerRoot) then {
  474.     _item59 = _item54 createUnit ["I_C_Soldier_Bandit_6_F",[9690.89,3871.13,7.62939e-006],[],0,"CAN_COLLIDE"];
  475.     _this = _item59;
  476.     _objects pushback _this;
  477.     _objectIDs pushback 59;
  478.     _this setPosWorld [9690.89,3871.18,38.8914];
  479.     _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
  480.     _this setRank "SERGEANT";
  481.     _this setname "Honi Umbari";;
  482.     _this setface "TanoanHead_A3_03";;
  483.     _this setspeaker "male03fre";;
  484.     _this setpitch 1.02962;;
  485. };
  486.  
  487. private _item60 = objNull;
  488. if (_layerRoot) then {
  489.     _item60 = _item54 createUnit ["I_C_Soldier_Bandit_2_F",[9666.01,3876.73,3.8147e-006],[],0,"CAN_COLLIDE"];
  490.     _this = _item60;
  491.     _objects pushback _this;
  492.     _objectIDs pushback 60;
  493.     _this setPosWorld [9666.01,3876.78,38.8914];
  494.     _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
  495.     _this setSkill 0.4;
  496.     _this setname "Malo Veitayaki";;
  497.     _this setface "TanoanHead_A3_08";;
  498.     _this setspeaker "male01fre";;
  499.     _this setpitch 0.970505;;
  500. };
  501.  
  502. private _item61 = objNull;
  503. if (_layerRoot) then {
  504.     _item61 = _item54 createUnit ["I_C_Soldier_Bandit_8_F",[9696,3876.01,3.8147e-006],[],0,"CAN_COLLIDE"];
  505.     _this = _item61;
  506.     _objects pushback _this;
  507.     _objectIDs pushback 61;
  508.     _this setPosWorld [9696,3876.06,38.8914];
  509.     _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
  510.     _this setSkill 0.4;
  511.     _this setname "Ihu Delai";;
  512.     _this setface "TanoanHead_A3_03";;
  513.     _this setspeaker "male01fre";;
  514.     _this setpitch 0.998244;;
  515. };
  516.  
  517. private _item62 = objNull;
  518. if (_layerRoot) then {
  519.     _item62 = _item54 createUnit ["I_C_Soldier_Bandit_1_F",[9661.13,3881.85,3.8147e-006],[],0,"CAN_COLLIDE"];
  520.     _this = _item62;
  521.     _objects pushback _this;
  522.     _objectIDs pushback 62;
  523.     _this setPosWorld [9661.13,3881.9,38.8914];
  524.     _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
  525.     _this setSkill 0.4;
  526.     _this setname "Kimo Kingi";;
  527.     _this setface "TanoanHead_A3_03";;
  528.     _this setspeaker "male02fre";;
  529.     _this setpitch 0.995735;;
  530. };
  531.  
  532. private _item67 = objNull;
  533. if (_layerRoot) then {
  534.     _item67 = _item66 createUnit ["I_C_Soldier_Para_6_F",[9677.18,3816.34,0],[],0,"CAN_COLLIDE"];
  535.     _item66 selectLeader _item67;
  536.     _this = _item67;
  537.     _objects pushback _this;
  538.     _objectIDs pushback 67;
  539.     _this setPosWorld [9677.18,3816.39,36.3801];
  540.     _this setVectorDirAndUp [[-0.604608,-0.796524,0],[0,0,1]];
  541.     _this setRank "SERGEANT";
  542.     _this setname "Ieni Ganilau";;
  543.     _this setface "TanoanHead_A3_01";;
  544.     _this setspeaker "male02fre";;
  545.     _this setpitch 1.01312;;
  546. };
  547.  
  548. private _item68 = objNull;
  549. if (_layerRoot) then {
  550.     _item68 = _item66 createUnit ["I_C_Soldier_Para_5_F",[9676.22,3823.34,0],[],0,"CAN_COLLIDE"];
  551.     _this = _item68;
  552.     _objects pushback _this;
  553.     _objectIDs pushback 68;
  554.     _this setPosWorld [9676.22,3823.39,36.7056];
  555.     _this setVectorDirAndUp [[-0.604608,-0.796524,0],[0,0,1]];
  556.     _this setSkill 0.4;
  557.     _this setname "Kahakuhale Turagabea";;
  558.     _this setface "TanoanHead_A3_01";;
  559.     _this setspeaker "male03fre";;
  560.     _this setpitch 0.996519;;
  561. };
  562.  
  563. private _item69 = objNull;
  564. if (_layerRoot) then {
  565.     _item69 = _item66 createUnit ["I_C_Soldier_Para_7_F",[9684.19,3817.3,0],[],0,"CAN_COLLIDE"];
  566.     _this = _item69;
  567.     _objects pushback _this;
  568.     _objectIDs pushback 69;
  569.     _this setPosWorld [9684.19,3817.35,36.4987];
  570.     _this setVectorDirAndUp [[-0.604608,-0.796524,0],[0,0,1]];
  571.     _this setSkill 0.45;
  572.     _this setRank "CORPORAL";
  573.     _this setname "Honi Lomu";;
  574.     _this setface "TanoanHead_A3_02";;
  575.     _this setspeaker "male01fre";;
  576.     _this setpitch 0.988102;;
  577. };
  578.  
  579. private _item70 = objNull;
  580. if (_layerRoot) then {
  581.     _item70 = _item66 createUnit ["I_C_Soldier_Para_8_F",[9675.27,3830.35,0],[],0,"CAN_COLLIDE"];
  582.     _this = _item70;
  583.     _objects pushback _this;
  584.     _objectIDs pushback 70;
  585.     _this setPosWorld [9675.27,3830.4,37.0729];
  586.     _this setVectorDirAndUp [[-0.604608,-0.796524,0],[0,0,1]];
  587.     _this setSkill 0.4;
  588.     _this setname "Hanini Bari";;
  589.     _this setface "TanoanHead_A3_03";;
  590.     _this setspeaker "male03fre";;
  591.     _this setpitch 0.979542;;
  592. };
  593.  
  594. private _item100 = objNull;
  595. if (_layerRoot) then {
  596.     _item100 = _item99 createUnit ["I_C_Soldier_Bandit_4_F",[9371.61,3780.68,0],[],0,"CAN_COLLIDE"];
  597.     _item99 selectLeader _item100;
  598.     _this = _item100;
  599.     _objects pushback _this;
  600.     _objectIDs pushback 100;
  601.     _this setPosWorld [9371.61,3780.73,3.68144];
  602.     _this setVectorDirAndUp [[0.238262,-0.971201,0],[0,0,1]];
  603.     _this setRank "SERGEANT";
  604.     _this setname "Halolani Umbari";;
  605.     _this setface "TanoanHead_A3_02";;
  606.     _this setspeaker "male03fre";;
  607.     _this setpitch 0.99329;;
  608. };
  609.  
  610. private _item101 = objNull;
  611. if (_layerRoot) then {
  612.     _item101 = _item99 createUnit ["I_C_Soldier_Bandit_3_F",[9365.56,3784.35,0],[],0,"CAN_COLLIDE"];
  613.     _this = _item101;
  614.     _objects pushback _this;
  615.     _objectIDs pushback 101;
  616.     _this setPosWorld [9365.56,3784.4,3.68144];
  617.     _this setVectorDirAndUp [[0.238262,-0.971201,0],[0,0,1]];
  618.     _this setSkill 0.4;
  619.     _this setname "Ietoro Naituyaga";;
  620.     _this setface "TanoanHead_A3_03";;
  621.     _this setspeaker "male01fre";;
  622.     _this setpitch 0.968116;;
  623. };
  624.  
  625. private _item102 = objNull;
  626. if (_layerRoot) then {
  627.     _item102 = _item99 createUnit ["I_C_Soldier_Bandit_5_F",[9375.27,3786.73,0],[],0,"CAN_COLLIDE"];
  628.     _this = _item102;
  629.     _objects pushback _this;
  630.     _objectIDs pushback 102;
  631.     _this setPosWorld [9375.27,3786.78,3.68428];
  632.     _this setVectorDirAndUp [[0.238262,-0.971201,0],[0,0,1]];
  633.     _this setSkill 0.45;
  634.     _this setRank "CORPORAL";
  635.     _this setname "Olina Rambuka";;
  636.     _this setface "TanoanHead_A3_04";;
  637.     _this setspeaker "male02fre";;
  638.     _this setpitch 0.990782;;
  639. };
  640.  
  641. private _item103 = objNull;
  642. if (_layerRoot) then {
  643.     _item103 = _item99 createUnit ["I_C_Soldier_Bandit_1_F",[9359.51,3788.01,0],[],0,"CAN_COLLIDE"];
  644.     _this = _item103;
  645.     _objects pushback _this;
  646.     _objectIDs pushback 103;
  647.     _this setPosWorld [9359.51,3788.06,3.68144];
  648.     _this setVectorDirAndUp [[0.238262,-0.971201,0],[0,0,1]];
  649.     _this setSkill 0.4;
  650.     _this setname "Pio Mikaere";;
  651.     _this setface "TanoanHead_A3_02";;
  652.     _this setspeaker "male03fre";;
  653.     _this setpitch 0.971168;;
  654. };
  655.  
  656. private _item106 = objNull;
  657. if (_layerRoot) then {
  658.     _item106 = createVehicle ["I_C_Boat_Transport_01_F",[9293.21,3867.72,6.169],[],0,"CAN_COLLIDE"];
  659.     _this = _item106;
  660.     _objects pushback _this;
  661.     _objectIDs pushback 106;
  662.     _this setPosWorld [9293.21,3867.72,1.24251];
  663.     _this setVectorDirAndUp [[-0.287804,0.957689,0],[0,0,1]];
  664.     boat1 = _this;
  665.     _this setVehicleVarName "boat1";
  666.     [_this,"[[[[],[]],[[],[]],[[""FirstAidKit""],[2]],[[],[]]],false]"] call bis_fnc_initAmmoBox;;
  667. };
  668.  
  669.  
  670. ///////////////////////////////////////////////////////////////////////////////////////////
  671. // Triggers
  672. private _triggers = [];
  673. private _triggerIDs = [];
  674.  
  675. private _item7 = objNull;
  676. if (_layerRoot) then {
  677.     _item7 = createTrigger ["EmptyDetector",[9464.21,3309,0.253],true];
  678.     _this = _item7;
  679.     _triggers pushback _this;
  680.     _triggerIDs pushback 7;
  681.     _item7 setPosATL [9464.21,3309,0.253];
  682.     _this setTriggerArea [2,2,0,false,-1];
  683.     _this setTriggerActivation ["ANYPLAYER","PRESENT",false];
  684.     _this setTriggerStatements ["this && ""hgun_P07_F"" in weapons player","hint ""Nice job, gun found!\nNow find a boat"";",""];
  685.     _this setTriggerText "tr_base";
  686. };
  687.  
  688. private _item29 = objNull;
  689. if (_layerRoot) then {
  690.     _item29 = createTrigger ["EmptyDetector",[9463.16,3283.98,0],true];
  691.     _this = _item29;
  692.     _triggers pushback _this;
  693.     _triggerIDs pushback 29;
  694.     _item29 setPosATL [9463.16,3283.98,0];
  695.     _this setTriggerArea [1,1,2,true,-1];
  696.     _this setTriggerActivation ["ANYPLAYER","PRESENT",false];
  697.     _this setTriggerStatements ["this","playSound3D [getMissionPath '\sfx\radio_01.ogg', radio1, true];
  698. gwh = ""groundWeaponHolder"" createVehicle [9464.234,3309.047,0];
  699. gwh addWeaponCargo [""hgun_P07_F"",1];gwh addMagazineCargo [""16Rnd_9x21_Mag"",1];gwh setPos [9464.234,3309.040,0];",""];
  700.     _this setTriggerText "tr_radio";
  701. };
  702.  
  703. private _item108 = objNull;
  704. if (_layerRoot) then {
  705.     _item108 = createTrigger ["EmptyDetector",[9293.3,3867.6,6.156],true];
  706.     _this = _item108;
  707.     _triggers pushback _this;
  708.     _triggerIDs pushback 108;
  709.     _item108 setPosATL [9293.3,3867.6,6.156];
  710.     _this setTriggerArea [5,5,0,false,-1];
  711.     _this setTriggerActivation ["ANYPLAYER","PRESENT",false];
  712.     _this setTriggerStatements ["this","hint ""Boat found! The smoketime is:\n""; ",""];
  713.     _this setTriggerText "tr_boat";
  714. };
  715.  
  716. private _item110 = objNull;
  717. if (_layerRoot) then {
  718.     _item110 = createTrigger ["EmptyDetector",[9293.22,3868.23,6.035],true];
  719.     _this = _item110;
  720.     _triggers pushback _this;
  721.     _triggerIDs pushback 110;
  722.     _item110 setPosATL [9293.22,3868.23,6.035];
  723.     _this setTriggerArea [5,5,0,false,-1];
  724.     _this setTriggerActivation ["ANYPLAYER","PRESENT",true];
  725.     _this setTriggerStatements ["this","hint str (""smoketime"" callExtension """");",""];
  726.     _this setTriggerText "tr_time";
  727.     _this setTriggerTimeout [4,4,4,false];
  728. };
  729.  
  730.  
  731. ///////////////////////////////////////////////////////////////////////////////////////////
  732. // Group attributes (applied only once group units exist)
  733. _this = _item0;
  734. if !(units _this isEqualTo []) then {
  735.     [_this,0] setWaypointPosition [position leader _this,0];
  736.     _this setGroupID ["Alpha 1-1"];;
  737. };
  738. _this = _item34;
  739. if !(units _this isEqualTo []) then {
  740.     [_this,0] setWaypointPosition [position leader _this,0];
  741.     _this setGroupID ["Alpha 1-1"];;
  742. };
  743. _this = _item39;
  744. if !(units _this isEqualTo []) then {
  745.     [_this,0] setWaypointPosition [position leader _this,0];
  746.     _this setGroupID ["Alpha 1-2"];;
  747. };
  748. _this = _item44;
  749. if !(units _this isEqualTo []) then {
  750.     [_this,0] setWaypointPosition [position leader _this,0];
  751.     _this setGroupID ["Alpha 1-3"];;
  752. };
  753. _this = _item54;
  754. if !(units _this isEqualTo []) then {
  755.     [_this,0] setWaypointPosition [position leader _this,0];
  756.     _this setGroupID ["Alpha 1-4"];;
  757. };
  758. _this = _item66;
  759. if !(units _this isEqualTo []) then {
  760.     [_this,0] setWaypointPosition [position leader _this,0];
  761.     _this setGroupID ["Alpha 1-5"];;
  762. };
  763. _this = _item99;
  764. if !(units _this isEqualTo []) then {
  765.     [_this,0] setWaypointPosition [position leader _this,0];
  766.     _this setGroupID ["Alpha 1-6"];;
  767. };
  768.  
  769.  
  770. ///////////////////////////////////////////////////////////////////////////////////////////
  771. // Waypoints
  772. private _waypoints = [];
  773. private _waypointIDs = [];
  774.  
  775. private _item65 = [];
  776. if (_layerRoot) then {
  777.     _item65 = _item34 addWaypoint [[9644.26,3346.18,0],0];
  778.     _this = _item65;
  779.     _waypoints pushback _this;
  780.     _waypointIDs pushback 65;
  781.     _this setWaypointType "GUARD";
  782.     _this setWaypointCompletionRadius 50;
  783. };
  784.  
  785. private _item64 = [];
  786. if (_layerRoot) then {
  787.     _item64 = _item39 addWaypoint [[9661.63,3495.32,0],0];
  788.     _this = _item64;
  789.     _waypoints pushback _this;
  790.     _waypointIDs pushback 64;
  791.     _this setWaypointType "GUARD";
  792.     _this setWaypointCompletionRadius 120;
  793. };
  794.  
  795. private _item53 = [];
  796. if (_layerRoot) then {
  797.     _item53 = _item44 addWaypoint [[9791.75,3988.53,0],0];
  798.     _this = _item53;
  799.     _waypoints pushback _this;
  800.     _waypointIDs pushback 53;
  801.     _this setWaypointType "GUARD";
  802.     _this setWaypointCompletionRadius 150;
  803. };
  804.  
  805. private _item63 = [];
  806. if (_layerRoot) then {
  807.     _item63 = _item54 addWaypoint [[9681.21,3849.24,0],0];
  808.     _this = _item63;
  809.     _waypoints pushback _this;
  810.     _waypointIDs pushback 63;
  811.     _this setWaypointType "GUARD";
  812.     _this setWaypointCompletionRadius 150;
  813. };
  814.  
  815. private _item71 = [];
  816. if (_layerRoot) then {
  817.     _item71 = _item66 addWaypoint [[9658.89,3787.04,-3.8147e-006],0];
  818.     _this = _item71;
  819.     _waypoints pushback _this;
  820.     _waypointIDs pushback 71;
  821.     _this setWaypointType "MOVE";
  822. };
  823.  
  824. private _item72 = [];
  825. if (_layerRoot) then {
  826.     _item72 = _item66 addWaypoint [[9603.55,3717.98,0],0];
  827.     _this = _item72;
  828.     _waypoints pushback _this;
  829.     _waypointIDs pushback 72;
  830.     _this setWaypointType "MOVE";
  831. };
  832.  
  833. private _item73 = [];
  834. if (_layerRoot) then {
  835.     _item73 = _item66 addWaypoint [[9583.43,3692.83,1.90735e-006],0];
  836.     _this = _item73;
  837.     _waypoints pushback _this;
  838.     _waypointIDs pushback 73;
  839.     _this setWaypointType "MOVE";
  840. };
  841.  
  842. private _item74 = [];
  843. if (_layerRoot) then {
  844.     _item74 = _item66 addWaypoint [[9523.06,3628.34,1.90735e-006],0];
  845.     _this = _item74;
  846.     _waypoints pushback _this;
  847.     _waypointIDs pushback 74;
  848.     _this setWaypointType "MOVE";
  849. };
  850.  
  851. private _item75 = [];
  852. if (_layerRoot) then {
  853.     _item75 = _item66 addWaypoint [[9467.27,3606.85,0],0];
  854.     _this = _item75;
  855.     _waypoints pushback _this;
  856.     _waypointIDs pushback 75;
  857.     _this setWaypointType "MOVE";
  858. };
  859.  
  860. private _item76 = [];
  861. if (_layerRoot) then {
  862.     _item76 = _item66 addWaypoint [[9452.63,3605.48,0],0];
  863.     _this = _item76;
  864.     _waypoints pushback _this;
  865.     _waypointIDs pushback 76;
  866.     _this setWaypointType "MOVE";
  867. };
  868.  
  869. private _item77 = [];
  870. if (_layerRoot) then {
  871.     _item77 = _item66 addWaypoint [[9431.14,3612.79,0],0];
  872.     _this = _item77;
  873.     _waypoints pushback _this;
  874.     _waypointIDs pushback 77;
  875.     _this setWaypointType "MOVE";
  876. };
  877.  
  878. private _item78 = [];
  879. if (_layerRoot) then {
  880.     _item78 = _item66 addWaypoint [[9408.73,3629.71,0],0];
  881.     _this = _item78;
  882.     _waypoints pushback _this;
  883.     _waypointIDs pushback 78;
  884.     _this setWaypointType "MOVE";
  885. };
  886.  
  887. private _item79 = [];
  888. if (_layerRoot) then {
  889.     _item79 = _item66 addWaypoint [[9372.14,3663.1,0],0];
  890.     _this = _item79;
  891.     _waypoints pushback _this;
  892.     _waypointIDs pushback 79;
  893.     _this setWaypointType "MOVE";
  894. };
  895.  
  896. private _item80 = [];
  897. if (_layerRoot) then {
  898.     _item80 = _item66 addWaypoint [[9363.57,3674.98,0],0];
  899.     _this = _item80;
  900.     _waypoints pushback _this;
  901.     _waypointIDs pushback 80;
  902.     _this setWaypointType "MOVE";
  903. };
  904.  
  905. private _item81 = [];
  906. if (_layerRoot) then {
  907.     _item81 = _item66 addWaypoint [[9354.62,3690.42,0],0];
  908.     _this = _item81;
  909.     _waypoints pushback _this;
  910.     _waypointIDs pushback 81;
  911.     _this setWaypointType "MOVE";
  912. };
  913.  
  914. private _item82 = [];
  915. if (_layerRoot) then {
  916.     _item82 = _item66 addWaypoint [[9350.41,3708.84,0],0];
  917.     _this = _item82;
  918.     _waypoints pushback _this;
  919.     _waypointIDs pushback 82;
  920.     _this setWaypointType "MOVE";
  921. };
  922.  
  923. private _item83 = [];
  924. if (_layerRoot) then {
  925.     _item83 = _item66 addWaypoint [[9348.48,3744.46,0],0];
  926.     _this = _item83;
  927.     _waypoints pushback _this;
  928.     _waypointIDs pushback 83;
  929.     _this setWaypointType "MOVE";
  930. };
  931.  
  932. private _item84 = [];
  933. if (_layerRoot) then {
  934.     _item84 = _item66 addWaypoint [[9345.15,3795.28,0],0];
  935.     _this = _item84;
  936.     _waypoints pushback _this;
  937.     _waypointIDs pushback 84;
  938.     _this setWaypointType "MOVE";
  939. };
  940.  
  941. private _item85 = [];
  942. if (_layerRoot) then {
  943.     _item85 = _item66 addWaypoint [[9392.12,3799.91,2.38419e-007],0];
  944.     _this = _item85;
  945.     _waypoints pushback _this;
  946.     _waypointIDs pushback 85;
  947.     _this setWaypointType "MOVE";
  948. };
  949.  
  950. private _item86 = [];
  951. if (_layerRoot) then {
  952.     _item86 = _item66 addWaypoint [[9415.94,3772.45,-4.76837e-007],0];
  953.     _this = _item86;
  954.     _waypoints pushback _this;
  955.     _waypointIDs pushback 86;
  956.     _this setWaypointType "MOVE";
  957. };
  958.  
  959. private _item87 = [];
  960. if (_layerRoot) then {
  961.     _item87 = _item66 addWaypoint [[9359.05,3712.59,0],0];
  962.     _this = _item87;
  963.     _waypoints pushback _this;
  964.     _waypointIDs pushback 87;
  965.     _this setWaypointType "MOVE";
  966. };
  967.  
  968. private _item88 = [];
  969. if (_layerRoot) then {
  970.     _item88 = _item66 addWaypoint [[9363.68,3692.08,0],0];
  971.     _this = _item88;
  972.     _waypoints pushback _this;
  973.     _waypointIDs pushback 88;
  974.     _this setWaypointType "MOVE";
  975. };
  976.  
  977. private _item89 = [];
  978. if (_layerRoot) then {
  979.     _item89 = _item66 addWaypoint [[9380.88,3667.27,0],0];
  980.     _this = _item89;
  981.     _waypoints pushback _this;
  982.     _waypointIDs pushback 89;
  983.     _this setWaypointType "MOVE";
  984. };
  985.  
  986. private _item90 = [];
  987. if (_layerRoot) then {
  988.     _item90 = _item66 addWaypoint [[9415.27,3634.86,9.53674e-007],0];
  989.     _this = _item90;
  990.     _waypoints pushback _this;
  991.     _waypointIDs pushback 90;
  992.     _this setWaypointType "MOVE";
  993. };
  994.  
  995. private _item91 = [];
  996. if (_layerRoot) then {
  997.     _item91 = _item66 addWaypoint [[9460.26,3613.02,0],0];
  998.     _this = _item91;
  999.     _waypoints pushback _this;
  1000.     _waypointIDs pushback 91;
  1001.     _this setWaypointType "MOVE";
  1002. };
  1003.  
  1004. private _item92 = [];
  1005. if (_layerRoot) then {
  1006.     _item92 = _item66 addWaypoint [[9516.82,3633.53,1.90735e-006],0];
  1007.     _this = _item92;
  1008.     _waypoints pushback _this;
  1009.     _waypointIDs pushback 92;
  1010.     _this setWaypointType "MOVE";
  1011. };
  1012.  
  1013. private _item93 = [];
  1014. if (_layerRoot) then {
  1015.     _item93 = _item66 addWaypoint [[9580.32,3701.01,0],0];
  1016.     _this = _item93;
  1017.     _waypoints pushback _this;
  1018.     _waypointIDs pushback 93;
  1019.     _this setWaypointType "MOVE";
  1020. };
  1021.  
  1022. private _item94 = [];
  1023. if (_layerRoot) then {
  1024.     _item94 = _item66 addWaypoint [[9653.42,3795.61,0],0];
  1025.     _this = _item94;
  1026.     _waypoints pushback _this;
  1027.     _waypointIDs pushback 94;
  1028.     _this setWaypointType "MOVE";
  1029. };
  1030.  
  1031. private _item95 = [];
  1032. if (_layerRoot) then {
  1033.     _item95 = _item66 addWaypoint [[9652.76,3829.67,0],0];
  1034.     _this = _item95;
  1035.     _waypoints pushback _this;
  1036.     _waypointIDs pushback 95;
  1037.     _this setWaypointType "MOVE";
  1038. };
  1039.  
  1040. private _item96 = [];
  1041. if (_layerRoot) then {
  1042.     _item96 = _item66 addWaypoint [[9728.51,3832.32,0],0];
  1043.     _this = _item96;
  1044.     _waypoints pushback _this;
  1045.     _waypointIDs pushback 96;
  1046.     _this setWaypointType "MOVE";
  1047. };
  1048.  
  1049. private _item97 = [];
  1050. if (_layerRoot) then {
  1051.     _item97 = _item66 addWaypoint [[9672.28,3790.97,-3.8147e-006],0];
  1052.     _this = _item97;
  1053.     _waypoints pushback _this;
  1054.     _waypointIDs pushback 97;
  1055.     _this setWaypointType "MOVE";
  1056. };
  1057.  
  1058. private _item98 = [];
  1059. if (_layerRoot) then {
  1060.     _item98 = _item66 addWaypoint [[9662.68,3784.03,0],0];
  1061.     _this = _item98;
  1062.     _waypoints pushback _this;
  1063.     _waypointIDs pushback 98;
  1064.     _this setWaypointType "LOITER";
  1065. };
  1066.  
  1067. private _item104 = [];
  1068. if (_layerRoot) then {
  1069.     _item104 = _item99 addWaypoint [[9373.26,3769.81,0],0];
  1070.     _this = _item104;
  1071.     _waypoints pushback _this;
  1072.     _waypointIDs pushback 104;
  1073.     _this setWaypointType "SENTRY";
  1074. };
  1075.  
  1076.  
  1077. ///////////////////////////////////////////////////////////////////////////////////////////
  1078. // Logics
  1079. private _logics = [];
  1080. private _logicIDs = [];
  1081.  
  1082. private _item5 = objNull;
  1083. if (_layerRoot) then {
  1084.     _item5 = (group (missionNamespace getvariable ["BIS_functions_mainscope",objnull])) createUnit ["ModuleMissionName_F",[9438.92,3278.95,0],[],0,"CAN_COLLIDE"];
  1085.     _this = _item5;
  1086.     _logics pushback _this;
  1087.     _logicIDs pushback 5;
  1088.     _this setPosWorld [9438.92,3278.95,36.9305];
  1089.     _this setVectorDirAndUp [[0,0.923297,-0.384086],[0.54711,0.321503,0.772856]];
  1090.     _this setVariable ['Name',"generic mission  ext",true];;
  1091.     _this setvariable ["BIS_fnc_initModules_disableAutoActivation",true];
  1092. };
  1093.  
  1094. private _item6 = objNull;
  1095. if (_layerRoot) then {
  1096.     _item6 = (group (missionNamespace getvariable ["BIS_functions_mainscope",objnull])) createUnit ["ModuleChat_F",[9462.9,3278.73,0],[],0,"CAN_COLLIDE"];
  1097.     _this = _item6;
  1098.     _logics pushback _this;
  1099.     _logicIDs pushback 6;
  1100.     _this setPosWorld [9462.9,3278.73,31.33];
  1101.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  1102.     _this setVariable ['Units',"2",true];;
  1103.     _this setVariable ['Text',"YO DAWG I HEARD YOU LIKE SEARCH GUNS SO I PUT A GUN NEAR YOUR CAR WRECK SO YOU CAN SEARCH WHILE YOU SEARCH",true];;
  1104.     _this setVariable ['Channel',"4",true];;
  1105.     _this setvariable ["BIS_fnc_initModules_disableAutoActivation",true];
  1106. };
  1107.  
  1108. private _item109 = objNull;
  1109. if (_layerRoot) then {
  1110.     _item109 = (group (missionNamespace getvariable ["BIS_functions_mainscope",objnull])) createUnit ["ModuleEndMission_F",[9283.85,3865.56,10.583],[],0,"CAN_COLLIDE"];
  1111.     _this = _item109;
  1112.     _logics pushback _this;
  1113.     _logicIDs pushback 109;
  1114.     _this setPosWorld [9283.85,3865.56,-7.72476e-005];
  1115.     _this setVectorDirAndUp [[0,1,0],[0,0,1]];
  1116.     _this setVariable ['Type',"EveryoneWon",true];;
  1117.     _this setVariable ['TypeCustom',"",true];;
  1118.     _this setVariable ['Win',true,true];;
  1119.     _this setvariable ["BIS_fnc_initModules_disableAutoActivation",true];
  1120. };
  1121.  
  1122.  
  1123. ///////////////////////////////////////////////////////////////////////////////////////////
  1124. // Layers
  1125.  
  1126.  
  1127. ///////////////////////////////////////////////////////////////////////////////////////////
  1128. // Crews
  1129.  
  1130.  
  1131. ///////////////////////////////////////////////////////////////////////////////////////////
  1132. // Vehicle cargo
  1133.  
  1134.  
  1135. ///////////////////////////////////////////////////////////////////////////////////////////
  1136. // Connections
  1137. if (!isNull _item29 && !isNull _item6) then {_item29 synchronizeObjectsAdd [_item6]; _item6 synchronizeObjectsAdd [_item29];};
  1138. if (!isNull _item110 && !isNull _item109) then {_item110 synchronizeObjectsAdd [_item109]; _item109 synchronizeObjectsAdd [_item110];};
  1139.  
  1140.  
  1141. ///////////////////////////////////////////////////////////////////////////////////////////
  1142. // Inits (executed only once all entities exist; isNil used to ensure non-scheduled environment)
  1143. isNil {
  1144.     if !(isnull _item1) then {
  1145.         this = _item1;
  1146.         g1 = createGroup [west,true];p1 = player;selectPlayer (units g1 select 0); deleteVehicle p1; this = player; this enableStamina false; this addRating -10000;;
  1147.     };
  1148.     if !(isnull _item2) then {
  1149.         this = _item2;
  1150.         player enableStamina false;;
  1151.     };
  1152.     if !(isnull _item25) then {
  1153.         this = _item25;
  1154.         hint str ("smoketime" callExtension "");;
  1155.     };
  1156. };
  1157.  
  1158.  
  1159. ///////////////////////////////////////////////////////////////////////////////////////////
  1160. // Module activations (only once everything is spawned and connected)
  1161. if !(isNull _item5) then {_item5 setvariable ["BIS_fnc_initModules_activate",true];};
  1162. if !(isNull _item6) then {_item6 setvariable ["BIS_fnc_initModules_activate",true];};
  1163. if !(isNull _item109) then {_item109 setvariable ["BIS_fnc_initModules_activate",true];};
  1164.  
  1165.  
  1166. ///////////////////////////////////////////////////////////////////////////////////////////
  1167. [[_objects,_groups,_triggers,_waypoints,_logics,_markers],[_objectIDs,_groupIDs,_triggerIDs,_waypointIDs,_logicIDs,_markerIDs]]
  1168.  
Advertisement
Add Comment
Please, Sign In to add comment