From ec02c8aa2ec28873a9cb04dd3114c5dc6ca4bbbc Mon Sep 17 00:00:00 2001 From: SilvDev Date: Fri, 4 Jul 2014 19:26:09 +0100 Subject: [PATCH] Update mission.sqf --- .../DayZ_Epoch_17.Chernarus/mission.sqf | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/SQF/dayz_server/missions/DayZ_Epoch_17.Chernarus/mission.sqf b/SQF/dayz_server/missions/DayZ_Epoch_17.Chernarus/mission.sqf index e1df85af3..38aa75b82 100644 --- a/SQF/dayz_server/missions/DayZ_Epoch_17.Chernarus/mission.sqf +++ b/SQF/dayz_server/missions/DayZ_Epoch_17.Chernarus/mission.sqf @@ -998,6 +998,9 @@ _unit_26 = objNull; if (true) then { _this = createAgent ["FR_Sykes", [1100.2645, 2854.3738, 2.3841858e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_26 = _this; _this setDir -180.34883; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -1196,6 +1199,9 @@ _unit_36 = objNull; if (true) then { _this = createAgent ["GUE_Villager4", [8387.1025, 2369.3113, 0.61760527], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_36 = _this; _this setDir 171.99826; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1206,6 +1212,9 @@ _unit_39 = objNull; if (true) then { _this = createAgent ["GUE_Soldier_CO", [13246.219, 6071.3926, -1.4305115e-006], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_39 = _this; _this setDir 5.4346404; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1216,6 +1225,9 @@ _unit_42 = objNull; if (true) then { _this = createAgent ["UN_CDF_Soldier_Crew_EP1", [6391.7827, 7791.1045, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_42 = _this; _this setDir -65.443085; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1387,6 +1399,9 @@ _unit_46 = objNull; if (true) then { _this = createAgent ["UN_CDF_Soldier_Pilot_EP1", [6381.814, 7767.4775], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_46 = _this; _this setDir 121.08885; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1397,6 +1412,9 @@ _unit_48 = objNull; if (true) then { _this = createAgent ["Soldier_MG_PMC", [6329.1069, 7790.7651], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_48 = _this; _this setDir 111.3273; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1407,6 +1425,9 @@ _unit_49 = objNull; if (true) then { _this = createAgent ["Soldier_MG_PKM_PMC", [6330.1953, 7792.3398, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_49 = _this; _this setDir 127.65099; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1417,6 +1438,9 @@ _unit_50 = objNull; if (true) then { _this = createAgent ["GUE_Worker2", [6308.3994, 7801.2329], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_50 = _this; _this setDir -79.43615; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1427,6 +1451,9 @@ _unit_52 = objNull; if (true) then { _this = createAgent ["Dr_Annie_Baker_EP1", [6307.5947, 7793.2104, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_52 = _this; _this setDir -53.402554; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1514,6 +1541,9 @@ _unit_75 = objNull; if (true) then { _this = createAgent ["TK_GUE_Soldier_5_EP1", [4078.2898, 11688.561, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_75 = _this; _this setDir 550.82233; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1542,6 +1572,9 @@ _unit_84 = objNull; if (true) then { _this = createAgent ["GUE_Soldier_2", [4086.22, 11679.781, -0.00012207031], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_84 = _this; _this setDir 205.64085; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1552,6 +1585,9 @@ _unit_92 = objNull; if (true) then { _this = createAgent ["Drake", [11459.7, 11385.781], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_92 = _this; _this setDir 44.980869; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1562,6 +1598,9 @@ _unit_94 = objNull; if (true) then { _this = createAgent ["BAF_Soldier_AAR_DDPM", [11458.045, 11387.044, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_94 = _this; _this setDir 38.94429; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1572,6 +1611,9 @@ _unit_97 = objNull; if (true) then { _this = createAgent ["US_Delta_Force_AR_EP1", [11473.452, 11383.101, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_97 = _this; _this setDir 154.96759; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1681,6 +1723,9 @@ _unit_105 = objNull; if (true) then { _this = createAgent ["Soldier_Sniper_PMC", [5066.8984, 9729.3574], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_105 = _this; _this setDir -40.290977; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1736,6 +1781,9 @@ _unit_113 = objNull; if (true) then { _this = createAgent ["Tanny_PMC", [12947.661, 12763.261, -1.2341257], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_113 = _this; _this setDir 273.25204; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -1809,6 +1857,9 @@ _unit_123 = objNull; if (true) then { _this = createAgent ["GUE_Soldier_3", [6319.7461, 7780.3867, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_123 = _this; _this setDir 471.17383; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -1915,6 +1966,9 @@ _unit_134 = objNull; if (true) then { _this = createAgent ["GUE_Soldier_Crew", [13106.087, 8253.1543, 3.9812155], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_134 = _this; _this setDir 78.321281; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -1952,6 +2006,9 @@ _unit_137 = objNull; if (true) then { _this = createAgent ["GUE_Commander", [4063.4075, 11665.369, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_137 = _this; _this setDir 364.06381; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -1962,6 +2019,9 @@ _unit_138 = objNull; if (true) then { _this = createAgent ["TK_GUE_Warlord_EP1", [4065.97, 11664.666, -6.1035156e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_138 = _this; _this setDir 373.22098; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -1972,6 +2032,9 @@ _unit_139 = objNull; if (true) then { _this = createAgent ["CIV_EuroWoman02_EP1", [4059.1609, 11671.943, -3.0517578e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_139 = _this; _this setDir 69.660759; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2025,6 +2088,9 @@ _unit_142 = objNull; if (true) then { _this = createAgent ["RU_Damsel4", [4059.3625, 11681.246, -0.00018310547], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_142 = _this; _this setDir 495.77243; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2097,6 +2163,9 @@ _unit_150 = objNull; if (true) then { _this = createAgent ["GUE_Soldier_1", [1607.4941, 7780.2427], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_150 = _this; _this setDir -153.01509; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2679,6 +2748,9 @@ _unit_190 = objNull; if (true) then { _this = createAgent ["BAF_Soldier_EN_MTP", [11460.588, 11395.914, 0.00015258789], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_190 = _this; _this setDir 151.44485; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2689,6 +2761,9 @@ _unit_195 = objNull; if (true) then { _this = createAgent ["Herrera_Light", [11467.993, 11394.931, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_195 = _this; _this setDir -162.6622; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -2699,6 +2774,9 @@ _unit_199 = objNull; if (true) then { _this = createAgent ["US_Delta_Force_Medic_EP1", [11474.346, 11389.572, -0.00012207031], [], 0, "CAN_COLLIDE"]; + {_this removeMagazine _x;} count magazines _this; + removeAllWeapons _this; + _this switchMove ""; _unit_199 = _this; _this setDir -116.26833; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";