From 23ba7bb4ca8e787d66afd4a4cb3e3b7eb847289d Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Tue, 3 Dec 2013 14:36:40 -0600 Subject: [PATCH] createAgent instead of createUnit --- .../missions/DayZ_Epoch_18.Sara/mission.sqf | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/SQF/dayz_server/missions/DayZ_Epoch_18.Sara/mission.sqf b/SQF/dayz_server/missions/DayZ_Epoch_18.Sara/mission.sqf index 148be7aea..e784abd5d 100644 --- a/SQF/dayz_server/missions/DayZ_Epoch_18.Sara/mission.sqf +++ b/SQF/dayz_server/missions/DayZ_Epoch_18.Sara/mission.sqf @@ -169,7 +169,7 @@ _group_1 = createGroup _center_1; _unit_13 = objNull; if (true) then { - _this = _group_1 createUnit ["Profiteer4", [17176.229, 13586.87, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Profiteer4", [17176.229, 13586.87, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _unit_13 = _this; _this setDir 73.497665; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -180,7 +180,7 @@ if (true) then _unit_17 = objNull; if (true) then { - _this = _group_1 createUnit ["RU_Villager3", [19245.633, 13586.95, 3.1938891], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["RU_Villager3", [19245.633, 13586.95, 3.1938891], [], 0, "CAN_COLLIDE"]; _unit_17 = _this; _this setDir -84.586914; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -245,7 +245,7 @@ if (true) then _unit_56 = objNull; if (true) then { - _this = _group_1 createUnit ["Worker3", [14280.453, 12382.589, 0.69716024], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Worker3", [14280.453, 12382.589, 0.69716024], [], 0, "CAN_COLLIDE"]; _unit_56 = _this; _this setDir 345.39899; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -256,7 +256,7 @@ if (true) then _unit_57 = objNull; if (true) then { - _this = _group_1 createUnit ["CIV_EuroMan01_EP1", [14281.469, 12438.899, -0.038146973], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["CIV_EuroMan01_EP1", [14281.469, 12438.899, -0.038146973], [], 0, "CAN_COLLIDE"]; _unit_57 = _this; _this setDir 272.80331; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -267,7 +267,7 @@ if (true) then _unit_58 = objNull; if (true) then { - _this = _group_1 createUnit ["RU_WorkWoman5", [14264.426, 12423.233, 0.54440308], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["RU_WorkWoman5", [14264.426, 12423.233, 0.54440308], [], 0, "CAN_COLLIDE"]; _unit_58 = _this; _this setDir 825.94824; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -278,7 +278,7 @@ if (true) then _unit_59 = objNull; if (true) then { - _this = _group_1 createUnit ["TK_GUE_Soldier_5_EP1", [14265.977, 12375.616, -0.51617432], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["TK_GUE_Soldier_5_EP1", [14265.977, 12375.616, -0.51617432], [], 0, "CAN_COLLIDE"]; _unit_59 = _this; _this setDir 381.45752; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -289,7 +289,7 @@ if (true) then _unit_60 = objNull; if (true) then { - _this = _group_1 createUnit ["CIV_EuroMan02_EP1", [14282.494, 12434.631, 0.33944702], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["CIV_EuroMan02_EP1", [14282.494, 12434.631, 0.33944702], [], 0, "CAN_COLLIDE"]; _unit_60 = _this; _this setDir 270.93637; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -300,7 +300,7 @@ if (true) then _unit_62 = objNull; if (true) then { - _this = _group_1 createUnit ["Dr_Hladik_EP1", [12568.642, 8359.8574, 0.51730686], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Dr_Hladik_EP1", [12568.642, 8359.8574, 0.51730686], [], 0, "CAN_COLLIDE"]; _unit_62 = _this; _this setDir 671.35419; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -349,7 +349,7 @@ if (true) then _unit_73 = objNull; if (true) then { - _this = _group_1 createUnit ["RU_Functionary1", [18089.461, 18202.705, 2.0980835e-005], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["RU_Functionary1", [18089.461, 18202.705, 2.0980835e-005], [], 0, "CAN_COLLIDE"]; _unit_73 = _this; _this setDir 86.790947; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -360,7 +360,7 @@ if (true) then _unit_74 = objNull; if (true) then { - _this = _group_1 createUnit ["Woodlander1", [17175.852, 13602.271, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Woodlander1", [17175.852, 13602.271, -9.1552734e-005], [], 0, "CAN_COLLIDE"]; _unit_74 = _this; _this setDir 87.902885; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -371,7 +371,7 @@ if (true) then _unit_75 = objNull; if (true) then { - _this = _group_1 createUnit ["RU_WorkWoman1", [17175.6, 13598.431, 0.94462103], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["RU_WorkWoman1", [17175.6, 13598.431, 0.94462103], [], 0, "CAN_COLLIDE"]; _unit_75 = _this; _this setDir 88.896126; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -382,7 +382,7 @@ if (true) then _unit_78 = objNull; if (true) then { - _this = _group_1 createUnit ["Rocker4", [17175.785, 13593.929], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Rocker4", [17175.785, 13593.929], [], 0, "CAN_COLLIDE"]; _unit_78 = _this; _this setDir 83.451462; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -393,7 +393,7 @@ if (true) then _unit_79 = objNull; if (true) then { - _this = _group_1 createUnit ["RU_Citizen3", [17182.684, 13599.278, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["RU_Citizen3", [17182.684, 13599.278, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _unit_79 = _this; _this setDir 613.98407; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -404,7 +404,7 @@ if (true) then _unit_82 = objNull; if (true) then { - _this = _group_1 createUnit ["Dr_Annie_Baker_EP1", [17179.426, 13574.901], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Dr_Annie_Baker_EP1", [17179.426, 13574.901], [], 0, "CAN_COLLIDE"]; _unit_82 = _this; _this setDir 433.92062; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -415,7 +415,7 @@ if (true) then _unit_84 = objNull; if (true) then { - _this = _group_1 createUnit ["TK_CIV_Takistani04_EP1", [12575.749, 8356.5449, 0.98069924], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["TK_CIV_Takistani04_EP1", [12575.749, 8356.5449, 0.98069924], [], 0, "CAN_COLLIDE"]; _unit_84 = _this; _this setDir 269.78232; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -507,7 +507,7 @@ if (true) then _unit_90 = objNull; if (true) then { - _this = _group_1 createUnit ["RU_Citizen4", [2909.8606, 3076.5623, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["RU_Citizen4", [2909.8606, 3076.5623, 1.7166138e-005], [], 0, "CAN_COLLIDE"]; _unit_90 = _this; _this setDir 172.47594; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -518,7 +518,7 @@ if (true) then _unit_91 = objNull; if (true) then { - _this = _group_1 createUnit ["RU_Citizen1", [13558.95, 8684.8398, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["RU_Citizen1", [13558.95, 8684.8398, 3.8146973e-006], [], 0, "CAN_COLLIDE"]; _unit_91 = _this; _this setDir 184.64287; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -529,7 +529,7 @@ if (true) then _unit_94 = objNull; if (true) then { - _this = _group_1 createUnit ["Pilot_EP1", [12569.598, 8353.5137, -0.3298558], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Pilot_EP1", [12569.598, 8353.5137, -0.3298558], [], 0, "CAN_COLLIDE"]; _unit_94 = _this; _this setDir 396.39563; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -540,7 +540,7 @@ if (true) then _unit_95 = objNull; if (true) then { - _this = _group_1 createUnit ["Rita_Ensler_EP1", [12556.018, 8352.8145, 0.88001078], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Rita_Ensler_EP1", [12556.018, 8352.8145, 0.88001078], [], 0, "CAN_COLLIDE"]; _unit_95 = _this; _this setDir -9.2696304; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -670,7 +670,7 @@ if (true) then _unit_97 = objNull; if (true) then { - _this = _group_1 createUnit ["Worker2", [9908.458, 10003.673, 0.020880492], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Worker2", [9908.458, 10003.673, 0.020880492], [], 0, "CAN_COLLIDE"]; _unit_97 = _this; _this setDir 3.0190864; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -743,7 +743,7 @@ _group_2 = createGroup _center_2; _unit_108 = objNull; if (true) then { - _this = _group_2 createUnit ["GUE_Soldier_MG", [6411.2759, 7476.5024, 0.25734121], [], 0, "CAN_COLLIDE"]; + _this = _group_2 createAgent ["GUE_Soldier_MG", [6411.2759, 7476.5024, 0.25734121], [], 0, "CAN_COLLIDE"]; _unit_108 = _this; _this setDir 262.28711; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; "; @@ -826,7 +826,7 @@ if (true) then _unit_118 = objNull; if (true) then { - _this = _group_1 createUnit ["RU_Profiteer4", [12548.382, 8353.6436], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["RU_Profiteer4", [12548.382, 8353.6436], [], 0, "CAN_COLLIDE"]; _unit_118 = _this; _this setDir -50.706394; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -855,7 +855,7 @@ if (true) then _unit_122 = objNull; if (true) then { - _this = _group_1 createUnit ["Woodlander3", [12565.632, 8350.7012, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Woodlander3", [12565.632, 8350.7012, 3.0517578e-005], [], 0, "CAN_COLLIDE"]; _unit_122 = _this; _this setDir -59.927212; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -886,7 +886,7 @@ if (true) then _unit_124 = objNull; if (true) then { - _this = _group_1 createUnit ["HouseWife1", [13488.928, 6891.0576, 3.5405161], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["HouseWife1", [13488.928, 6891.0576, 3.5405161], [], 0, "CAN_COLLIDE"]; _unit_124 = _this; _this setDir -91.741302; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; @@ -914,7 +914,7 @@ if (true) then _unit_128 = objNull; if (true) then { - _this = _group_1 createUnit ["Doctor", [14263.656, 12434.905], [], 0, "CAN_COLLIDE"]; + _this = _group_1 createAgent ["Doctor", [14263.656, 12434.905], [], 0, "CAN_COLLIDE"]; _unit_128 = _this; _this setDir 455.85672; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";