From 0a5e13a1d8a951f38ed659c3c80b35cd3e05df55 Mon Sep 17 00:00:00 2001 From: SilvDev Date: Fri, 4 Jul 2014 19:26:24 +0100 Subject: [PATCH] Update mission.sqf --- .../missions/DayZ_Epoch_24.Napf/mission.sqf | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/SQF/dayz_server/missions/DayZ_Epoch_24.Napf/mission.sqf b/SQF/dayz_server/missions/DayZ_Epoch_24.Napf/mission.sqf index c95a93fc6..82ac651bd 100644 --- a/SQF/dayz_server/missions/DayZ_Epoch_24.Napf/mission.sqf +++ b/SQF/dayz_server/missions/DayZ_Epoch_24.Napf/mission.sqf @@ -846,6 +846,9 @@ _unit_31 = objNull; if (true) then { _this = createAgent ["Soldier_MG_PKM_PMC", [8264.5371, 15495.855, 3.7374172], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_31 = _this; _this setDir 56.102802; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -856,6 +859,9 @@ _unit_32 = objNull; if (true) then { _this = createAgent ["GUE_Woodlander3", [8266.668, 15482.221, 0.10264076], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_32 = _this; _this setDir -141.76392; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -866,6 +872,9 @@ _unit_35 = objNull; if (true) then { _this = createAgent ["GUE_Woodlander2", [8254.9502, 15509.599, 0.23239325], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_35 = _this; _this setDir -170.64685; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -876,6 +885,9 @@ _unit_40 = objNull; if (true) then { _this = createAgent ["GUE_Worker2", [8262.3057, 15499.362, 3.5365536], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_40 = _this; _this setDir 415.11279; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -886,6 +898,9 @@ _unit_55 = objNull; if (true) then { _this = createAgent ["Damsel3", [8262.2666, 15499.865, 0.28269568], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_55 = _this; _this setDir -131.36397; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -905,6 +920,9 @@ _unit_60 = objNull; if (true) then { _this = createAgent ["Soldier_GL_PMC", [8243.2871, 15505.409, -2.8610229e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_60 = _this; _this setDir 134.79477; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1017,6 +1035,9 @@ _unit_82 = objNull; if (true) then { _this = createAgent ["GUE_Villager3", [12421.655, 5051.9307, 0.71062249], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_82 = _this; _this setDir 6.034544; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1027,6 +1048,9 @@ _unit_96 = objNull; if (true) then { _this = createAgent ["Dr_Annie_Baker_EP1", [12401.616, 5045.4702, 1.8259125], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_96 = _this; _this setDir -35.831966; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1037,6 +1061,9 @@ _unit_97 = objNull; if (true) then { _this = createAgent ["CIV_EuroWoman01_EP1", [12392.748, 5053.9941, 1.4861736], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_97 = _this; _this setDir 172.95543; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1047,6 +1074,9 @@ _unit_110 = objNull; if (true) then { _this = createAgent ["US_Delta_Force_AR_EP1", [12427.486, 5058.2739, 3.513485], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_110 = _this; _this setDir -78.654518; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1057,6 +1087,9 @@ _unit_119 = objNull; if (true) then { _this = createAgent ["Graves", [12425.565, 5054.9614, 3.5064285], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_119 = _this; _this setDir -38.965942; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1288,6 +1321,9 @@ _unit_121 = objNull; if (true) then { _this = createAgent ["GUE_Commander", [12421.825, 5058.9873, 0.15634714], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_121 = _this; _this setDir 24.803446; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -2166,6 +2202,9 @@ _unit_172 = objNull; if (true) then { _this = createAgent ["Ins_Soldier_AR", [15507.673, 13226.056, -1.8119812e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_172 = _this; _this setDir 28.482628; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2176,6 +2215,9 @@ _unit_184 = objNull; if (true) then { _this = createAgent ["Ins_Lopotev", [15503.225, 13227.221, -0.00010824203], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_184 = _this; _this setDir 9.4583635; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2186,6 +2228,9 @@ _unit_198 = objNull; if (true) then { _this = createAgent ["Ins_Woodlander3", [15518.751, 13226.484, -7.4863434e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_198 = _this; _this setDir -20.681011; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2196,6 +2241,9 @@ _unit_203 = objNull; if (true) then { _this = createAgent ["Ins_Worker2", [15473.157, 13187.692, -9.1075897e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_203 = _this; _this setDir 34.35025; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2206,6 +2254,9 @@ _unit_208 = objNull; if (true) then { _this = createAgent ["Dr_Hladik_EP1", [15520.006, 13250.66, 0.26522979], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_208 = _this; _this setDir -31.105717; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2243,6 +2294,9 @@ _unit_219 = objNull; if (true) then { _this = createAgent ["Tanny_PMC", [5154.019, 4855.4419, 1.5258789e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_219 = _this; _this setDir -93.96814; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2271,6 +2325,9 @@ _unit_221 = objNull; if (true) then { _this = createAgent ["Ins_Woodlander2", [16864.951, 5273.5635, 1.3620883], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_221 = _this; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; @@ -2288,6 +2345,9 @@ _unit_224 = objNull; if (true) then { _this = createAgent ["TK_Special_Forces_EP1", [6773.3965, 16950.34, 1.3511612], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_224 = _this; _this setDir -31.881969; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2315,6 +2375,9 @@ _unit_227 = objNull; if (true) then { _this = createAgent ["RUS_Commander", [5372.9751, 16095.265, -0.00016623829], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_227 = _this; _this setDir -113.97614; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2334,6 +2397,9 @@ _unit_237 = objNull; if (true) then { _this = createAgent ["TK_Special_Forces_MG_EP1", [2128.2959, 7807.7822, 6.9963961], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_237 = _this; _this setDir -99.433609; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2423,6 +2489,9 @@ _unit_244 = objNull; if (true) then { _this = createAgent ["RUS_Soldier2", [10395.563, 8270.3369, -4.5776367e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_244 = _this; _this setDir 214.98192; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2433,6 +2502,9 @@ _unit_245 = objNull; if (true) then { _this = createAgent ["Drake_Light", [15128.7, 16420.936, 0.075260207], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_245 = _this; _this setDir 134.33461; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2462,6 +2534,9 @@ _unit_250 = objNull; if (true) then { _this = createAgent ["Damsel5", [15536.542, 13224.494, 0.92211318], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_250 = _this; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; _this setUnitAbility 0.60000002; @@ -2489,6 +2564,9 @@ _unit_263 = objNull; if (true) then { _this = createAgent ["pook_Doc_Bell47", [8269.4893, 15490.62, 3.3378601e-006], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_263 = _this; _this setDir -104.75245; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";