Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Export of 'generic_mission_ext.Malden' by smokeOut on v0.9
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Init
- params [["_layerWhiteList",[],[[]]],["_layerBlacklist",[],[[]]],["_posCenter",[0,0,0],[[]]],["_dir",0,[0]],["_idBlacklist",[],[[]]]];
- private _allWhitelisted = _layerWhiteList isEqualTo [];
- private _layerRoot = (_allWhitelisted || {true in _layerWhiteList}) && {!(true in _layerBlackList)};
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Markers
- private _markers = [];
- private _markerIDs = [];
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Groups
- private _groups = [];
- private _groupIDs = [];
- private _item0 = grpNull;
- if (_layerRoot) then {
- _item0 = createGroup civilian;
- _this = _item0;
- _groups pushback _this;
- _groupIDs pushback 0;
- };
- private _item34 = grpNull;
- if (_layerRoot) then {
- _item34 = createGroup resistance;
- _this = _item34;
- _groups pushback _this;
- _groupIDs pushback 34;
- };
- private _item39 = grpNull;
- if (_layerRoot) then {
- _item39 = createGroup resistance;
- _this = _item39;
- _groups pushback _this;
- _groupIDs pushback 39;
- };
- private _item44 = grpNull;
- if (_layerRoot) then {
- _item44 = createGroup resistance;
- _this = _item44;
- _groups pushback _this;
- _groupIDs pushback 44;
- };
- private _item54 = grpNull;
- if (_layerRoot) then {
- _item54 = createGroup resistance;
- _this = _item54;
- _groups pushback _this;
- _groupIDs pushback 54;
- };
- private _item66 = grpNull;
- if (_layerRoot) then {
- _item66 = createGroup resistance;
- _this = _item66;
- _groups pushback _this;
- _groupIDs pushback 66;
- };
- private _item99 = grpNull;
- if (_layerRoot) then {
- _item99 = createGroup resistance;
- _this = _item99;
- _groups pushback _this;
- _groupIDs pushback 99;
- };
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Objects
- private _objects = [];
- private _objectIDs = [];
- private _item1 = objNull;
- if (_layerRoot) then {
- _item1 = _item0 createUnit ["C_IDAP_Man_AidWorker_05_F",[9507.41,3159.61,0],[],0,"CAN_COLLIDE"];
- _item0 selectLeader _item1;
- _this = _item1;
- _objects pushback _this;
- _objectIDs pushback 1;
- _this setPosWorld [9507.41,3159.66,43.2454];
- _this setVectorDirAndUp [[-0.216883,0.976198,0],[0,0,1]];
- _this setUnitLoadout [[],[],[],["U_C_IDAP_Man_casual_F",[["FirstAidKit",2]]],[],[],"H_Cap_blk","G_Shades_Red",[],["","","","ItemCompass","ItemWatch",""]];
- selectPlayer _this;
- _this setname "Greer Campbell";;
- _this setface "GreekHead_A3_07";;
- _this setspeaker "Male11ENG";;
- _this setpitch 1;;
- };
- private _item2 = objNull;
- if (_layerRoot) then {
- _item2 = createVehicle ["Land_Wreck_Offroad_F",[9472.09,3309.34,-1.90735e-006],[],0,"CAN_COLLIDE"];
- _this = _item2;
- _objects pushback _this;
- _objectIDs pushback 2;
- _this setPosWorld [9472.09,3309.34,32.2648];
- _this setVectorDirAndUp [[-0.980429,-0.196871,0],[0,0,1]];
- };
- private _item19 = objNull;
- if (_layerRoot) then {
- _item19 = createVehicle ["Land_WoodenTable_small_F",[9463.19,3283.66,0.558826],[],0,"CAN_COLLIDE"];
- _this = _item19;
- _objects pushback _this;
- _objectIDs pushback 19;
- _this setPosWorld [9463.19,3283.66,32.3211];
- _this setVectorDirAndUp [[0.999491,-0.0319043,0],[0,0,1]];
- };
- private _item20 = objNull;
- if (_layerRoot) then {
- _item20 = createVehicle ["Land_CampingChair_V2_F",[9463.51,3284.9,0.55883],[],0,"CAN_COLLIDE"];
- _this = _item20;
- _objects pushback _this;
- _objectIDs pushback 20;
- _this setPosWorld [9463.51,3284.9,32.3953];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- };
- private _item25 = objNull;
- if (_layerRoot) then {
- _item25 = createVehicle ["Land_SurvivalRadio_F",[9463.2,3283.59,1.423],[],0,"CAN_COLLIDE"];
- _this = _item25;
- _objects pushback _this;
- _objectIDs pushback 25;
- _this setPosWorld [9463.2,3283.59,32.8558];
- _this setVectorDirAndUp [[-0.430763,0.902465,0],[0,0,1]];
- radio1 = _this;
- _this setVehicleVarName "radio1";
- };
- private _item26 = objNull;
- if (_layerRoot) then {
- _item26 = createVehicle ["Land_CarBattery_02_F",[9462.73,3283.52,1.42342],[],0,"CAN_COLLIDE"];
- _this = _item26;
- _objects pushback _this;
- _objectIDs pushback 26;
- _this setPosWorld [9462.73,3283.52,32.8399];
- _this setVectorDirAndUp [[0.126719,0.991939,0],[0,0,1]];
- };
- private _item28 = objNull;
- if (_layerRoot) then {
- _item28 = createVehicle ["Land_MultiMeter_F",[9462.9,3283.75,1.42342],[],0,"CAN_COLLIDE"];
- _this = _item28;
- _objects pushback _this;
- _objectIDs pushback 28;
- _this setPosWorld [9462.9,3283.75,32.761];
- _this setVectorDirAndUp [[0.449224,-0.893419,0],[0,0,1]];
- };
- private _item35 = objNull;
- if (_layerRoot) then {
- _item35 = _item34 createUnit ["I_C_Soldier_Para_6_F",[9643.35,3329.29,0],[],0,"CAN_COLLIDE"];
- _item34 selectLeader _item35;
- _this = _item35;
- _objects pushback _this;
- _objectIDs pushback 35;
- _this setPosWorld [9643.35,3329.34,44.2514];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setRank "SERGEANT";
- _this setname "Tui Mikaere";;
- _this setface "TanoanHead_A3_07";;
- _this setspeaker "male03fre";;
- _this setpitch 0.974635;;
- };
- private _item36 = objNull;
- if (_layerRoot) then {
- _item36 = _item34 createUnit ["I_C_Soldier_Para_5_F",[9648.35,3324.29,0],[],0,"CAN_COLLIDE"];
- _this = _item36;
- _objects pushback _this;
- _objectIDs pushback 36;
- _this setPosWorld [9648.35,3324.34,44.2514];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Hoaka Vunibaka";;
- _this setface "TanoanHead_A3_02";;
- _this setspeaker "male02fre";;
- _this setpitch 0.977454;;
- };
- private _item37 = objNull;
- if (_layerRoot) then {
- _item37 = _item34 createUnit ["I_C_Soldier_Para_7_F",[9638.35,3324.29,0],[],0,"CAN_COLLIDE"];
- _this = _item37;
- _objects pushback _this;
- _objectIDs pushback 37;
- _this setPosWorld [9638.35,3324.34,44.2514];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.45;
- _this setRank "CORPORAL";
- _this setname "Maro Mara";;
- _this setface "TanoanHead_A3_03";;
- _this setspeaker "male01fre";;
- _this setpitch 1.00234;;
- };
- private _item38 = objNull;
- if (_layerRoot) then {
- _item38 = _item34 createUnit ["I_C_Soldier_Para_8_F",[9653.35,3319.29,0],[],0,"CAN_COLLIDE"];
- _this = _item38;
- _objects pushback _this;
- _objectIDs pushback 38;
- _this setPosWorld [9653.35,3319.34,44.2514];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Hekeoro Neho";;
- _this setface "TanoanHead_A3_03";;
- _this setspeaker "male02fre";;
- _this setpitch 1.0086;;
- };
- private _item40 = objNull;
- if (_layerRoot) then {
- _item40 = _item39 createUnit ["I_C_Soldier_Para_2_F",[9670.67,3501.35,0],[],0,"CAN_COLLIDE"];
- _item39 selectLeader _item40;
- _this = _item40;
- _objects pushback _this;
- _objectIDs pushback 40;
- _this setPosWorld [9670.67,3501.4,36.2314];
- _this setVectorDirAndUp [[-0.512557,-0.858653,0],[0,0,1]];
- _this setRank "SERGEANT";
- _this setname "Eloni Umbari";;
- _this setface "TanoanHead_A3_07";;
- _this setspeaker "male02fre";;
- _this setpitch 1.02049;;
- };
- private _item41 = objNull;
- if (_layerRoot) then {
- _item41 = _item39 createUnit ["I_C_Soldier_Para_4_F",[9668.94,3508.2,0],[],0,"CAN_COLLIDE"];
- _this = _item41;
- _objects pushback _this;
- _objectIDs pushback 41;
- _this setPosWorld [9668.94,3508.25,36.2314];
- _this setVectorDirAndUp [[-0.512557,-0.858653,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Hie Timoci";;
- _this setface "TanoanHead_A3_07";;
- _this setspeaker "male03fre";;
- _this setpitch 0.965879;;
- };
- private _item42 = objNull;
- if (_layerRoot) then {
- _item42 = _item39 createUnit ["I_C_Soldier_Para_1_F",[9677.53,3503.08,0],[],0,"CAN_COLLIDE"];
- _this = _item42;
- _objects pushback _this;
- _objectIDs pushback 42;
- _this setPosWorld [9677.53,3503.13,36.2314];
- _this setVectorDirAndUp [[-0.512557,-0.858653,0],[0,0,1]];
- _this setSkill 0.45;
- _this setRank "CORPORAL";
- _this setname "Tua Bole";;
- _this setface "TanoanHead_A3_03";;
- _this setspeaker "male01fre";;
- _this setpitch 0.964222;;
- };
- private _item43 = objNull;
- if (_layerRoot) then {
- _item43 = _item39 createUnit ["I_C_Soldier_Para_3_F",[9667.21,3515.06,0],[],0,"CAN_COLLIDE"];
- _this = _item43;
- _objects pushback _this;
- _objectIDs pushback 43;
- _this setPosWorld [9667.21,3515.11,36.2314];
- _this setVectorDirAndUp [[-0.512557,-0.858653,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Wehilani Ieremia";;
- _this setface "TanoanHead_A3_04";;
- _this setspeaker "male03fre";;
- _this setpitch 0.991111;;
- };
- private _item45 = objNull;
- if (_layerRoot) then {
- _item45 = _item44 createUnit ["I_C_Soldier_Bandit_4_F",[9792.86,3968.06,0],[],0,"CAN_COLLIDE"];
- _item44 selectLeader _item45;
- _this = _item45;
- _objects pushback _this;
- _objectIDs pushback 45;
- _this setPosWorld [9792.86,3968.11,38.8914];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setRank "SERGEANT";
- _this setname "Onaona Potaka";;
- _this setface "TanoanHead_A3_01";;
- _this setspeaker "male03fre";;
- _this setpitch 1.00748;;
- };
- private _item46 = objNull;
- if (_layerRoot) then {
- _item46 = _item44 createUnit ["I_C_Soldier_Bandit_3_F",[9797.86,3963.06,0],[],0,"CAN_COLLIDE"];
- _this = _item46;
- _objects pushback _this;
- _objectIDs pushback 46;
- _this setPosWorld [9797.86,3963.11,38.8914];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Haloa Timoci";;
- _this setface "TanoanHead_A3_05";;
- _this setspeaker "male02fre";;
- _this setpitch 1.03922;;
- };
- private _item47 = objNull;
- if (_layerRoot) then {
- _item47 = _item44 createUnit ["I_C_Soldier_Bandit_7_F",[9787.86,3963.06,0],[],0,"CAN_COLLIDE"];
- _this = _item47;
- _objects pushback _this;
- _objectIDs pushback 47;
- _this setPosWorld [9787.86,3963.11,38.8914];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.45;
- _this setRank "CORPORAL";
- _this setname "Ihu Naituyaga";;
- _this setface "TanoanHead_A3_01";;
- _this setspeaker "male01fre";;
- _this setpitch 1.01843;;
- };
- private _item48 = objNull;
- if (_layerRoot) then {
- _item48 = _item44 createUnit ["I_C_Soldier_Bandit_5_F",[9802.86,3958.06,3.8147e-006],[],0,"CAN_COLLIDE"];
- _this = _item48;
- _objects pushback _this;
- _objectIDs pushback 48;
- _this setPosWorld [9802.86,3958.11,38.8914];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.45;
- _this setRank "CORPORAL";
- _this setname "Tua Tonono";;
- _this setface "TanoanHead_A3_07";;
- _this setspeaker "male03fre";;
- _this setpitch 0.996486;;
- };
- private _item49 = objNull;
- if (_layerRoot) then {
- _item49 = _item44 createUnit ["I_C_Soldier_Bandit_6_F",[9782.86,3958.06,0],[],0,"CAN_COLLIDE"];
- _this = _item49;
- _objects pushback _this;
- _objectIDs pushback 49;
- _this setPosWorld [9782.86,3958.11,38.8877];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setRank "SERGEANT";
- _this setname "Fetu Pore";;
- _this setface "TanoanHead_A3_08";;
- _this setspeaker "male01fre";;
- _this setpitch 0.959827;;
- };
- private _item50 = objNull;
- if (_layerRoot) then {
- _item50 = _item44 createUnit ["I_C_Soldier_Bandit_2_F",[9807.86,3953.06,0],[],0,"CAN_COLLIDE"];
- _this = _item50;
- _objects pushback _this;
- _objectIDs pushback 50;
- _this setPosWorld [9807.86,3953.11,38.8914];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Iram Katalou";;
- _this setface "TanoanHead_A3_04";;
- _this setspeaker "male01fre";;
- _this setpitch 0.963251;;
- };
- private _item51 = objNull;
- if (_layerRoot) then {
- _item51 = _item44 createUnit ["I_C_Soldier_Bandit_8_F",[9777.86,3953.06,0],[],0,"CAN_COLLIDE"];
- _this = _item51;
- _objects pushback _this;
- _objectIDs pushback 51;
- _this setPosWorld [9777.86,3953.11,38.8837];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Liko Naituyaga";;
- _this setface "TanoanHead_A3_02";;
- _this setspeaker "male02fre";;
- _this setpitch 0.981767;;
- };
- private _item52 = objNull;
- if (_layerRoot) then {
- _item52 = _item44 createUnit ["I_C_Soldier_Bandit_1_F",[9812.86,3948.06,0],[],0,"CAN_COLLIDE"];
- _this = _item52;
- _objects pushback _this;
- _objectIDs pushback 52;
- _this setPosWorld [9812.86,3948.11,38.9045];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Tane Umbari";;
- _this setface "TanoanHead_A3_07";;
- _this setspeaker "male03fre";;
- _this setpitch 1.02029;;
- };
- private _item55 = objNull;
- if (_layerRoot) then {
- _item55 = _item54 createUnit ["I_C_Soldier_Bandit_4_F",[9680.65,3861.38,3.8147e-006],[],0,"CAN_COLLIDE"];
- _item54 selectLeader _item55;
- _this = _item55;
- _objects pushback _this;
- _objectIDs pushback 55;
- _this setPosWorld [9680.65,3861.43,38.8123];
- _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
- _this setRank "SERGEANT";
- _this setname "Akamu Koroi";;
- _this setface "TanoanHead_A3_01";;
- _this setspeaker "male02fre";;
- _this setpitch 0.97956;;
- };
- private _item56 = objNull;
- if (_layerRoot) then {
- _item56 = _item54 createUnit ["I_C_Soldier_Bandit_3_F",[9675.77,3866.49,3.8147e-006],[],0,"CAN_COLLIDE"];
- _this = _item56;
- _objects pushback _this;
- _objectIDs pushback 56;
- _this setPosWorld [9675.77,3866.54,38.8914];
- _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Atonio Delai";;
- _this setface "TanoanHead_A3_08";;
- _this setspeaker "male01fre";;
- _this setpitch 0.952655;;
- };
- private _item57 = objNull;
- if (_layerRoot) then {
- _item57 = _item54 createUnit ["I_C_Soldier_Bandit_7_F",[9685.77,3866.26,3.8147e-006],[],0,"CAN_COLLIDE"];
- _this = _item57;
- _objects pushback _this;
- _objectIDs pushback 57;
- _this setPosWorld [9685.77,3866.31,38.8914];
- _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
- _this setSkill 0.45;
- _this setRank "CORPORAL";
- _this setname "Tangaroa Waqanitoga";;
- _this setface "TanoanHead_A3_05";;
- _this setspeaker "male02fre";;
- _this setpitch 1.00048;;
- };
- private _item58 = objNull;
- if (_layerRoot) then {
- _item58 = _item54 createUnit ["I_C_Soldier_Bandit_5_F",[9670.89,3871.61,7.62939e-006],[],0,"CAN_COLLIDE"];
- _this = _item58;
- _objects pushback _this;
- _objectIDs pushback 58;
- _this setPosWorld [9670.89,3871.66,38.8914];
- _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
- _this setSkill 0.45;
- _this setRank "CORPORAL";
- _this setname "Qiomars Mara";;
- _this setface "TanoanHead_A3_05";;
- _this setspeaker "male02fre";;
- _this setpitch 0.992732;;
- };
- private _item59 = objNull;
- if (_layerRoot) then {
- _item59 = _item54 createUnit ["I_C_Soldier_Bandit_6_F",[9690.89,3871.13,7.62939e-006],[],0,"CAN_COLLIDE"];
- _this = _item59;
- _objects pushback _this;
- _objectIDs pushback 59;
- _this setPosWorld [9690.89,3871.18,38.8914];
- _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
- _this setRank "SERGEANT";
- _this setname "Honi Umbari";;
- _this setface "TanoanHead_A3_03";;
- _this setspeaker "male03fre";;
- _this setpitch 1.02962;;
- };
- private _item60 = objNull;
- if (_layerRoot) then {
- _item60 = _item54 createUnit ["I_C_Soldier_Bandit_2_F",[9666.01,3876.73,3.8147e-006],[],0,"CAN_COLLIDE"];
- _this = _item60;
- _objects pushback _this;
- _objectIDs pushback 60;
- _this setPosWorld [9666.01,3876.78,38.8914];
- _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Malo Veitayaki";;
- _this setface "TanoanHead_A3_08";;
- _this setspeaker "male01fre";;
- _this setpitch 0.970505;;
- };
- private _item61 = objNull;
- if (_layerRoot) then {
- _item61 = _item54 createUnit ["I_C_Soldier_Bandit_8_F",[9696,3876.01,3.8147e-006],[],0,"CAN_COLLIDE"];
- _this = _item61;
- _objects pushback _this;
- _objectIDs pushback 61;
- _this setPosWorld [9696,3876.06,38.8914];
- _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Ihu Delai";;
- _this setface "TanoanHead_A3_03";;
- _this setspeaker "male01fre";;
- _this setpitch 0.998244;;
- };
- private _item62 = objNull;
- if (_layerRoot) then {
- _item62 = _item54 createUnit ["I_C_Soldier_Bandit_1_F",[9661.13,3881.85,3.8147e-006],[],0,"CAN_COLLIDE"];
- _this = _item62;
- _objects pushback _this;
- _objectIDs pushback 62;
- _this setPosWorld [9661.13,3881.9,38.8914];
- _this setVectorDirAndUp [[-0.0238023,-0.999717,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Kimo Kingi";;
- _this setface "TanoanHead_A3_03";;
- _this setspeaker "male02fre";;
- _this setpitch 0.995735;;
- };
- private _item67 = objNull;
- if (_layerRoot) then {
- _item67 = _item66 createUnit ["I_C_Soldier_Para_6_F",[9677.18,3816.34,0],[],0,"CAN_COLLIDE"];
- _item66 selectLeader _item67;
- _this = _item67;
- _objects pushback _this;
- _objectIDs pushback 67;
- _this setPosWorld [9677.18,3816.39,36.3801];
- _this setVectorDirAndUp [[-0.604608,-0.796524,0],[0,0,1]];
- _this setRank "SERGEANT";
- _this setname "Ieni Ganilau";;
- _this setface "TanoanHead_A3_01";;
- _this setspeaker "male02fre";;
- _this setpitch 1.01312;;
- };
- private _item68 = objNull;
- if (_layerRoot) then {
- _item68 = _item66 createUnit ["I_C_Soldier_Para_5_F",[9676.22,3823.34,0],[],0,"CAN_COLLIDE"];
- _this = _item68;
- _objects pushback _this;
- _objectIDs pushback 68;
- _this setPosWorld [9676.22,3823.39,36.7056];
- _this setVectorDirAndUp [[-0.604608,-0.796524,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Kahakuhale Turagabea";;
- _this setface "TanoanHead_A3_01";;
- _this setspeaker "male03fre";;
- _this setpitch 0.996519;;
- };
- private _item69 = objNull;
- if (_layerRoot) then {
- _item69 = _item66 createUnit ["I_C_Soldier_Para_7_F",[9684.19,3817.3,0],[],0,"CAN_COLLIDE"];
- _this = _item69;
- _objects pushback _this;
- _objectIDs pushback 69;
- _this setPosWorld [9684.19,3817.35,36.4987];
- _this setVectorDirAndUp [[-0.604608,-0.796524,0],[0,0,1]];
- _this setSkill 0.45;
- _this setRank "CORPORAL";
- _this setname "Honi Lomu";;
- _this setface "TanoanHead_A3_02";;
- _this setspeaker "male01fre";;
- _this setpitch 0.988102;;
- };
- private _item70 = objNull;
- if (_layerRoot) then {
- _item70 = _item66 createUnit ["I_C_Soldier_Para_8_F",[9675.27,3830.35,0],[],0,"CAN_COLLIDE"];
- _this = _item70;
- _objects pushback _this;
- _objectIDs pushback 70;
- _this setPosWorld [9675.27,3830.4,37.0729];
- _this setVectorDirAndUp [[-0.604608,-0.796524,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Hanini Bari";;
- _this setface "TanoanHead_A3_03";;
- _this setspeaker "male03fre";;
- _this setpitch 0.979542;;
- };
- private _item100 = objNull;
- if (_layerRoot) then {
- _item100 = _item99 createUnit ["I_C_Soldier_Bandit_4_F",[9371.61,3780.68,0],[],0,"CAN_COLLIDE"];
- _item99 selectLeader _item100;
- _this = _item100;
- _objects pushback _this;
- _objectIDs pushback 100;
- _this setPosWorld [9371.61,3780.73,3.68144];
- _this setVectorDirAndUp [[0.238262,-0.971201,0],[0,0,1]];
- _this setRank "SERGEANT";
- _this setname "Halolani Umbari";;
- _this setface "TanoanHead_A3_02";;
- _this setspeaker "male03fre";;
- _this setpitch 0.99329;;
- };
- private _item101 = objNull;
- if (_layerRoot) then {
- _item101 = _item99 createUnit ["I_C_Soldier_Bandit_3_F",[9365.56,3784.35,0],[],0,"CAN_COLLIDE"];
- _this = _item101;
- _objects pushback _this;
- _objectIDs pushback 101;
- _this setPosWorld [9365.56,3784.4,3.68144];
- _this setVectorDirAndUp [[0.238262,-0.971201,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Ietoro Naituyaga";;
- _this setface "TanoanHead_A3_03";;
- _this setspeaker "male01fre";;
- _this setpitch 0.968116;;
- };
- private _item102 = objNull;
- if (_layerRoot) then {
- _item102 = _item99 createUnit ["I_C_Soldier_Bandit_5_F",[9375.27,3786.73,0],[],0,"CAN_COLLIDE"];
- _this = _item102;
- _objects pushback _this;
- _objectIDs pushback 102;
- _this setPosWorld [9375.27,3786.78,3.68428];
- _this setVectorDirAndUp [[0.238262,-0.971201,0],[0,0,1]];
- _this setSkill 0.45;
- _this setRank "CORPORAL";
- _this setname "Olina Rambuka";;
- _this setface "TanoanHead_A3_04";;
- _this setspeaker "male02fre";;
- _this setpitch 0.990782;;
- };
- private _item103 = objNull;
- if (_layerRoot) then {
- _item103 = _item99 createUnit ["I_C_Soldier_Bandit_1_F",[9359.51,3788.01,0],[],0,"CAN_COLLIDE"];
- _this = _item103;
- _objects pushback _this;
- _objectIDs pushback 103;
- _this setPosWorld [9359.51,3788.06,3.68144];
- _this setVectorDirAndUp [[0.238262,-0.971201,0],[0,0,1]];
- _this setSkill 0.4;
- _this setname "Pio Mikaere";;
- _this setface "TanoanHead_A3_02";;
- _this setspeaker "male03fre";;
- _this setpitch 0.971168;;
- };
- private _item106 = objNull;
- if (_layerRoot) then {
- _item106 = createVehicle ["I_C_Boat_Transport_01_F",[9293.21,3867.72,6.169],[],0,"CAN_COLLIDE"];
- _this = _item106;
- _objects pushback _this;
- _objectIDs pushback 106;
- _this setPosWorld [9293.21,3867.72,1.24251];
- _this setVectorDirAndUp [[-0.287804,0.957689,0],[0,0,1]];
- boat1 = _this;
- _this setVehicleVarName "boat1";
- [_this,"[[[[],[]],[[],[]],[[""FirstAidKit""],[2]],[[],[]]],false]"] call bis_fnc_initAmmoBox;;
- };
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Triggers
- private _triggers = [];
- private _triggerIDs = [];
- private _item7 = objNull;
- if (_layerRoot) then {
- _item7 = createTrigger ["EmptyDetector",[9464.21,3309,0.253],true];
- _this = _item7;
- _triggers pushback _this;
- _triggerIDs pushback 7;
- _item7 setPosATL [9464.21,3309,0.253];
- _this setTriggerArea [2,2,0,false,-1];
- _this setTriggerActivation ["ANYPLAYER","PRESENT",false];
- _this setTriggerStatements ["this && ""hgun_P07_F"" in weapons player","hint ""Nice job, gun found!\nNow find a boat"";",""];
- _this setTriggerText "tr_base";
- };
- private _item29 = objNull;
- if (_layerRoot) then {
- _item29 = createTrigger ["EmptyDetector",[9463.16,3283.98,0],true];
- _this = _item29;
- _triggers pushback _this;
- _triggerIDs pushback 29;
- _item29 setPosATL [9463.16,3283.98,0];
- _this setTriggerArea [1,1,2,true,-1];
- _this setTriggerActivation ["ANYPLAYER","PRESENT",false];
- _this setTriggerStatements ["this","playSound3D [getMissionPath '\sfx\radio_01.ogg', radio1, true];
- gwh = ""groundWeaponHolder"" createVehicle [9464.234,3309.047,0];
- gwh addWeaponCargo [""hgun_P07_F"",1];gwh addMagazineCargo [""16Rnd_9x21_Mag"",1];gwh setPos [9464.234,3309.040,0];",""];
- _this setTriggerText "tr_radio";
- };
- private _item108 = objNull;
- if (_layerRoot) then {
- _item108 = createTrigger ["EmptyDetector",[9293.3,3867.6,6.156],true];
- _this = _item108;
- _triggers pushback _this;
- _triggerIDs pushback 108;
- _item108 setPosATL [9293.3,3867.6,6.156];
- _this setTriggerArea [5,5,0,false,-1];
- _this setTriggerActivation ["ANYPLAYER","PRESENT",false];
- _this setTriggerStatements ["this","hint ""Boat found! The smoketime is:\n""; ",""];
- _this setTriggerText "tr_boat";
- };
- private _item110 = objNull;
- if (_layerRoot) then {
- _item110 = createTrigger ["EmptyDetector",[9293.22,3868.23,6.035],true];
- _this = _item110;
- _triggers pushback _this;
- _triggerIDs pushback 110;
- _item110 setPosATL [9293.22,3868.23,6.035];
- _this setTriggerArea [5,5,0,false,-1];
- _this setTriggerActivation ["ANYPLAYER","PRESENT",true];
- _this setTriggerStatements ["this","hint str (""smoketime"" callExtension """");",""];
- _this setTriggerText "tr_time";
- _this setTriggerTimeout [4,4,4,false];
- };
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Group attributes (applied only once group units exist)
- _this = _item0;
- if !(units _this isEqualTo []) then {
- [_this,0] setWaypointPosition [position leader _this,0];
- _this setGroupID ["Alpha 1-1"];;
- };
- _this = _item34;
- if !(units _this isEqualTo []) then {
- [_this,0] setWaypointPosition [position leader _this,0];
- _this setGroupID ["Alpha 1-1"];;
- };
- _this = _item39;
- if !(units _this isEqualTo []) then {
- [_this,0] setWaypointPosition [position leader _this,0];
- _this setGroupID ["Alpha 1-2"];;
- };
- _this = _item44;
- if !(units _this isEqualTo []) then {
- [_this,0] setWaypointPosition [position leader _this,0];
- _this setGroupID ["Alpha 1-3"];;
- };
- _this = _item54;
- if !(units _this isEqualTo []) then {
- [_this,0] setWaypointPosition [position leader _this,0];
- _this setGroupID ["Alpha 1-4"];;
- };
- _this = _item66;
- if !(units _this isEqualTo []) then {
- [_this,0] setWaypointPosition [position leader _this,0];
- _this setGroupID ["Alpha 1-5"];;
- };
- _this = _item99;
- if !(units _this isEqualTo []) then {
- [_this,0] setWaypointPosition [position leader _this,0];
- _this setGroupID ["Alpha 1-6"];;
- };
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Waypoints
- private _waypoints = [];
- private _waypointIDs = [];
- private _item65 = [];
- if (_layerRoot) then {
- _item65 = _item34 addWaypoint [[9644.26,3346.18,0],0];
- _this = _item65;
- _waypoints pushback _this;
- _waypointIDs pushback 65;
- _this setWaypointType "GUARD";
- _this setWaypointCompletionRadius 50;
- };
- private _item64 = [];
- if (_layerRoot) then {
- _item64 = _item39 addWaypoint [[9661.63,3495.32,0],0];
- _this = _item64;
- _waypoints pushback _this;
- _waypointIDs pushback 64;
- _this setWaypointType "GUARD";
- _this setWaypointCompletionRadius 120;
- };
- private _item53 = [];
- if (_layerRoot) then {
- _item53 = _item44 addWaypoint [[9791.75,3988.53,0],0];
- _this = _item53;
- _waypoints pushback _this;
- _waypointIDs pushback 53;
- _this setWaypointType "GUARD";
- _this setWaypointCompletionRadius 150;
- };
- private _item63 = [];
- if (_layerRoot) then {
- _item63 = _item54 addWaypoint [[9681.21,3849.24,0],0];
- _this = _item63;
- _waypoints pushback _this;
- _waypointIDs pushback 63;
- _this setWaypointType "GUARD";
- _this setWaypointCompletionRadius 150;
- };
- private _item71 = [];
- if (_layerRoot) then {
- _item71 = _item66 addWaypoint [[9658.89,3787.04,-3.8147e-006],0];
- _this = _item71;
- _waypoints pushback _this;
- _waypointIDs pushback 71;
- _this setWaypointType "MOVE";
- };
- private _item72 = [];
- if (_layerRoot) then {
- _item72 = _item66 addWaypoint [[9603.55,3717.98,0],0];
- _this = _item72;
- _waypoints pushback _this;
- _waypointIDs pushback 72;
- _this setWaypointType "MOVE";
- };
- private _item73 = [];
- if (_layerRoot) then {
- _item73 = _item66 addWaypoint [[9583.43,3692.83,1.90735e-006],0];
- _this = _item73;
- _waypoints pushback _this;
- _waypointIDs pushback 73;
- _this setWaypointType "MOVE";
- };
- private _item74 = [];
- if (_layerRoot) then {
- _item74 = _item66 addWaypoint [[9523.06,3628.34,1.90735e-006],0];
- _this = _item74;
- _waypoints pushback _this;
- _waypointIDs pushback 74;
- _this setWaypointType "MOVE";
- };
- private _item75 = [];
- if (_layerRoot) then {
- _item75 = _item66 addWaypoint [[9467.27,3606.85,0],0];
- _this = _item75;
- _waypoints pushback _this;
- _waypointIDs pushback 75;
- _this setWaypointType "MOVE";
- };
- private _item76 = [];
- if (_layerRoot) then {
- _item76 = _item66 addWaypoint [[9452.63,3605.48,0],0];
- _this = _item76;
- _waypoints pushback _this;
- _waypointIDs pushback 76;
- _this setWaypointType "MOVE";
- };
- private _item77 = [];
- if (_layerRoot) then {
- _item77 = _item66 addWaypoint [[9431.14,3612.79,0],0];
- _this = _item77;
- _waypoints pushback _this;
- _waypointIDs pushback 77;
- _this setWaypointType "MOVE";
- };
- private _item78 = [];
- if (_layerRoot) then {
- _item78 = _item66 addWaypoint [[9408.73,3629.71,0],0];
- _this = _item78;
- _waypoints pushback _this;
- _waypointIDs pushback 78;
- _this setWaypointType "MOVE";
- };
- private _item79 = [];
- if (_layerRoot) then {
- _item79 = _item66 addWaypoint [[9372.14,3663.1,0],0];
- _this = _item79;
- _waypoints pushback _this;
- _waypointIDs pushback 79;
- _this setWaypointType "MOVE";
- };
- private _item80 = [];
- if (_layerRoot) then {
- _item80 = _item66 addWaypoint [[9363.57,3674.98,0],0];
- _this = _item80;
- _waypoints pushback _this;
- _waypointIDs pushback 80;
- _this setWaypointType "MOVE";
- };
- private _item81 = [];
- if (_layerRoot) then {
- _item81 = _item66 addWaypoint [[9354.62,3690.42,0],0];
- _this = _item81;
- _waypoints pushback _this;
- _waypointIDs pushback 81;
- _this setWaypointType "MOVE";
- };
- private _item82 = [];
- if (_layerRoot) then {
- _item82 = _item66 addWaypoint [[9350.41,3708.84,0],0];
- _this = _item82;
- _waypoints pushback _this;
- _waypointIDs pushback 82;
- _this setWaypointType "MOVE";
- };
- private _item83 = [];
- if (_layerRoot) then {
- _item83 = _item66 addWaypoint [[9348.48,3744.46,0],0];
- _this = _item83;
- _waypoints pushback _this;
- _waypointIDs pushback 83;
- _this setWaypointType "MOVE";
- };
- private _item84 = [];
- if (_layerRoot) then {
- _item84 = _item66 addWaypoint [[9345.15,3795.28,0],0];
- _this = _item84;
- _waypoints pushback _this;
- _waypointIDs pushback 84;
- _this setWaypointType "MOVE";
- };
- private _item85 = [];
- if (_layerRoot) then {
- _item85 = _item66 addWaypoint [[9392.12,3799.91,2.38419e-007],0];
- _this = _item85;
- _waypoints pushback _this;
- _waypointIDs pushback 85;
- _this setWaypointType "MOVE";
- };
- private _item86 = [];
- if (_layerRoot) then {
- _item86 = _item66 addWaypoint [[9415.94,3772.45,-4.76837e-007],0];
- _this = _item86;
- _waypoints pushback _this;
- _waypointIDs pushback 86;
- _this setWaypointType "MOVE";
- };
- private _item87 = [];
- if (_layerRoot) then {
- _item87 = _item66 addWaypoint [[9359.05,3712.59,0],0];
- _this = _item87;
- _waypoints pushback _this;
- _waypointIDs pushback 87;
- _this setWaypointType "MOVE";
- };
- private _item88 = [];
- if (_layerRoot) then {
- _item88 = _item66 addWaypoint [[9363.68,3692.08,0],0];
- _this = _item88;
- _waypoints pushback _this;
- _waypointIDs pushback 88;
- _this setWaypointType "MOVE";
- };
- private _item89 = [];
- if (_layerRoot) then {
- _item89 = _item66 addWaypoint [[9380.88,3667.27,0],0];
- _this = _item89;
- _waypoints pushback _this;
- _waypointIDs pushback 89;
- _this setWaypointType "MOVE";
- };
- private _item90 = [];
- if (_layerRoot) then {
- _item90 = _item66 addWaypoint [[9415.27,3634.86,9.53674e-007],0];
- _this = _item90;
- _waypoints pushback _this;
- _waypointIDs pushback 90;
- _this setWaypointType "MOVE";
- };
- private _item91 = [];
- if (_layerRoot) then {
- _item91 = _item66 addWaypoint [[9460.26,3613.02,0],0];
- _this = _item91;
- _waypoints pushback _this;
- _waypointIDs pushback 91;
- _this setWaypointType "MOVE";
- };
- private _item92 = [];
- if (_layerRoot) then {
- _item92 = _item66 addWaypoint [[9516.82,3633.53,1.90735e-006],0];
- _this = _item92;
- _waypoints pushback _this;
- _waypointIDs pushback 92;
- _this setWaypointType "MOVE";
- };
- private _item93 = [];
- if (_layerRoot) then {
- _item93 = _item66 addWaypoint [[9580.32,3701.01,0],0];
- _this = _item93;
- _waypoints pushback _this;
- _waypointIDs pushback 93;
- _this setWaypointType "MOVE";
- };
- private _item94 = [];
- if (_layerRoot) then {
- _item94 = _item66 addWaypoint [[9653.42,3795.61,0],0];
- _this = _item94;
- _waypoints pushback _this;
- _waypointIDs pushback 94;
- _this setWaypointType "MOVE";
- };
- private _item95 = [];
- if (_layerRoot) then {
- _item95 = _item66 addWaypoint [[9652.76,3829.67,0],0];
- _this = _item95;
- _waypoints pushback _this;
- _waypointIDs pushback 95;
- _this setWaypointType "MOVE";
- };
- private _item96 = [];
- if (_layerRoot) then {
- _item96 = _item66 addWaypoint [[9728.51,3832.32,0],0];
- _this = _item96;
- _waypoints pushback _this;
- _waypointIDs pushback 96;
- _this setWaypointType "MOVE";
- };
- private _item97 = [];
- if (_layerRoot) then {
- _item97 = _item66 addWaypoint [[9672.28,3790.97,-3.8147e-006],0];
- _this = _item97;
- _waypoints pushback _this;
- _waypointIDs pushback 97;
- _this setWaypointType "MOVE";
- };
- private _item98 = [];
- if (_layerRoot) then {
- _item98 = _item66 addWaypoint [[9662.68,3784.03,0],0];
- _this = _item98;
- _waypoints pushback _this;
- _waypointIDs pushback 98;
- _this setWaypointType "LOITER";
- };
- private _item104 = [];
- if (_layerRoot) then {
- _item104 = _item99 addWaypoint [[9373.26,3769.81,0],0];
- _this = _item104;
- _waypoints pushback _this;
- _waypointIDs pushback 104;
- _this setWaypointType "SENTRY";
- };
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Logics
- private _logics = [];
- private _logicIDs = [];
- private _item5 = objNull;
- if (_layerRoot) then {
- _item5 = (group (missionNamespace getvariable ["BIS_functions_mainscope",objnull])) createUnit ["ModuleMissionName_F",[9438.92,3278.95,0],[],0,"CAN_COLLIDE"];
- _this = _item5;
- _logics pushback _this;
- _logicIDs pushback 5;
- _this setPosWorld [9438.92,3278.95,36.9305];
- _this setVectorDirAndUp [[0,0.923297,-0.384086],[0.54711,0.321503,0.772856]];
- _this setVariable ['Name',"generic mission ext",true];;
- _this setvariable ["BIS_fnc_initModules_disableAutoActivation",true];
- };
- private _item6 = objNull;
- if (_layerRoot) then {
- _item6 = (group (missionNamespace getvariable ["BIS_functions_mainscope",objnull])) createUnit ["ModuleChat_F",[9462.9,3278.73,0],[],0,"CAN_COLLIDE"];
- _this = _item6;
- _logics pushback _this;
- _logicIDs pushback 6;
- _this setPosWorld [9462.9,3278.73,31.33];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setVariable ['Units',"2",true];;
- _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];;
- _this setVariable ['Channel',"4",true];;
- _this setvariable ["BIS_fnc_initModules_disableAutoActivation",true];
- };
- private _item109 = objNull;
- if (_layerRoot) then {
- _item109 = (group (missionNamespace getvariable ["BIS_functions_mainscope",objnull])) createUnit ["ModuleEndMission_F",[9283.85,3865.56,10.583],[],0,"CAN_COLLIDE"];
- _this = _item109;
- _logics pushback _this;
- _logicIDs pushback 109;
- _this setPosWorld [9283.85,3865.56,-7.72476e-005];
- _this setVectorDirAndUp [[0,1,0],[0,0,1]];
- _this setVariable ['Type',"EveryoneWon",true];;
- _this setVariable ['TypeCustom',"",true];;
- _this setVariable ['Win',true,true];;
- _this setvariable ["BIS_fnc_initModules_disableAutoActivation",true];
- };
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Layers
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Crews
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Vehicle cargo
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Connections
- if (!isNull _item29 && !isNull _item6) then {_item29 synchronizeObjectsAdd [_item6]; _item6 synchronizeObjectsAdd [_item29];};
- if (!isNull _item110 && !isNull _item109) then {_item110 synchronizeObjectsAdd [_item109]; _item109 synchronizeObjectsAdd [_item110];};
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Inits (executed only once all entities exist; isNil used to ensure non-scheduled environment)
- isNil {
- if !(isnull _item1) then {
- this = _item1;
- g1 = createGroup [west,true];p1 = player;selectPlayer (units g1 select 0); deleteVehicle p1; this = player; this enableStamina false; this addRating -10000;;
- };
- if !(isnull _item2) then {
- this = _item2;
- player enableStamina false;;
- };
- if !(isnull _item25) then {
- this = _item25;
- hint str ("smoketime" callExtension "");;
- };
- };
- ///////////////////////////////////////////////////////////////////////////////////////////
- // Module activations (only once everything is spawned and connected)
- if !(isNull _item5) then {_item5 setvariable ["BIS_fnc_initModules_activate",true];};
- if !(isNull _item6) then {_item6 setvariable ["BIS_fnc_initModules_activate",true];};
- if !(isNull _item109) then {_item109 setvariable ["BIS_fnc_initModules_activate",true];};
- ///////////////////////////////////////////////////////////////////////////////////////////
- [[_objects,_groups,_triggers,_waypoints,_logics,_markers],[_objectIDs,_groupIDs,_triggerIDs,_waypointIDs,_logicIDs,_markerIDs]]
Advertisement
Add Comment
Please, Sign In to add comment