mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-24 09:29:21 +03:00
createagent fix
This commit is contained in:
@@ -2094,22 +2094,22 @@ if (true) then
|
||||
_this = createCenter resistance;
|
||||
_center_1 = _this;
|
||||
|
||||
_group_1 = createGroup _center_1;
|
||||
= createGroup _center_1;
|
||||
|
||||
_this = createCenter civilian;
|
||||
_center_2 = _this;
|
||||
|
||||
_group_2 = createGroup _center_2;
|
||||
= createGroup _center_2;
|
||||
|
||||
_this = createCenter east;
|
||||
_center_3 = _this;
|
||||
|
||||
_group_3 = createGroup _center_3;
|
||||
= createGroup _center_3;
|
||||
|
||||
_unit_105 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["Ins_Woodlander3", [1390.5302, 6944.1221, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Ins_Woodlander3", [1390.5302, 6944.1221, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_unit_105 = _this;
|
||||
_this setDir 91.034714;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2119,7 +2119,7 @@ if (true) then
|
||||
_unit_108 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["Ins_Worker2", [1394.0282, 6980.3257], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Ins_Worker2", [1394.0282, 6980.3257], [], 0, "CAN_COLLIDE"];
|
||||
_unit_108 = _this;
|
||||
_this setDir 184.04665;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2129,7 +2129,7 @@ if (true) then
|
||||
_unit_117 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["Ins_Soldier_Sapper", [1399.6907, 6932.1113, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Ins_Soldier_Sapper", [1399.6907, 6932.1113, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_unit_117 = _this;
|
||||
_this setDir -65.198639;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2139,7 +2139,7 @@ if (true) then
|
||||
_unit_137 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["Ins_Soldier_Medic", [1403.147, 6935.8843, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Ins_Soldier_Medic", [1403.147, 6935.8843, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
|
||||
_unit_137 = _this;
|
||||
_this setDir -54.290131;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2149,7 +2149,7 @@ if (true) then
|
||||
_unit_161 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["Ins_Woodlander1", [2392.6931, 7534.646, 2.3263159], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Ins_Woodlander1", [2392.6931, 7534.646, 2.3263159], [], 0, "CAN_COLLIDE"];
|
||||
_unit_161 = _this;
|
||||
_this setDir -96.593018;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2167,7 +2167,7 @@ if (true) then
|
||||
_unit_189 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["TK_Soldier_Spotter_EP1", [3561.2859, 6028.3188, 0.44275188], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["TK_Soldier_Spotter_EP1", [3561.2859, 6028.3188, 0.44275188], [], 0, "CAN_COLLIDE"];
|
||||
_unit_189 = _this;
|
||||
_this setDir -528.21375;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2177,7 +2177,7 @@ if (true) then
|
||||
_unit_206 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_1 createAgent ["Tanny_PMC", [4802.3774, 3073.3643, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Tanny_PMC", [4802.3774, 3073.3643, 7.6293945e-006], [], 0, "CAN_COLLIDE"];
|
||||
_unit_206 = _this;
|
||||
_this setDir 268.52533;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2187,7 +2187,7 @@ if (true) then
|
||||
_unit_207 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["Ins_Lopotev", [3942.5715, 853.03564, 0.48624861], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Ins_Lopotev", [3942.5715, 853.03564, 0.48624861], [], 0, "CAN_COLLIDE"];
|
||||
_unit_207 = _this;
|
||||
_this setDir -17.824253;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2197,7 +2197,7 @@ if (true) then
|
||||
_unit_208 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["Ins_Villager3", [3924.8306, 859.23077, -0.094918966], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Ins_Villager3", [3924.8306, 859.23077, -0.094918966], [], 0, "CAN_COLLIDE"];
|
||||
_unit_208 = _this;
|
||||
_this setDir -53.146969;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2207,7 +2207,7 @@ if (true) then
|
||||
_unit_209 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["Ins_Woodlander2", [3945.9624, 867.5116, 0.36235416], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Ins_Woodlander2", [3945.9624, 867.5116, 0.36235416], [], 0, "CAN_COLLIDE"];
|
||||
_unit_209 = _this;
|
||||
_this setDir -108.41523;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2217,7 +2217,7 @@ if (true) then
|
||||
_unit_213 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["RUS_Soldier_TL", [3945.3738, 853.20978, -0.0021039643], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["RUS_Soldier_TL", [3945.3738, 853.20978, -0.0021039643], [], 0, "CAN_COLLIDE"];
|
||||
_unit_213 = _this;
|
||||
_this setDir -388.43741;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2227,7 +2227,7 @@ if (true) then
|
||||
_unit_224 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_3 createAgent ["MVD_Soldier_TL", [1796.2767, 3674.4536], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["MVD_Soldier_TL", [1796.2767, 3674.4536], [], 0, "CAN_COLLIDE"];
|
||||
_unit_224 = _this;
|
||||
_this setDir 125.48753;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2237,7 +2237,7 @@ if (true) then
|
||||
_unit_227 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_1 createAgent ["Soldier_GL_M16A2_PMC", [1198.4252, 1902.0905], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Soldier_GL_M16A2_PMC", [1198.4252, 1902.0905], [], 0, "CAN_COLLIDE"];
|
||||
_unit_227 = _this;
|
||||
_this setDir 68.655991;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2247,7 +2247,7 @@ if (true) then
|
||||
_unit_231 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_2 createAgent ["Dr_Hladik_EP1", [3945.9509, 873.69336, 0.5009582], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Dr_Hladik_EP1", [3945.9509, 873.69336, 0.5009582], [], 0, "CAN_COLLIDE"];
|
||||
_unit_231 = _this;
|
||||
_this setDir -102.63105;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2257,7 +2257,7 @@ if (true) then
|
||||
_unit_233 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_2 createAgent ["Dr_Annie_Baker_EP1", [1415.5072, 6965.9204, 0.99102378], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Dr_Annie_Baker_EP1", [1415.5072, 6965.9204, 0.99102378], [], 0, "CAN_COLLIDE"];
|
||||
_unit_233 = _this;
|
||||
_this setDir 119.76057;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2267,7 +2267,7 @@ if (true) then
|
||||
_unit_235 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_2 createAgent ["RU_Damsel4", [1383.766, 6937.1289], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["RU_Damsel4", [1383.766, 6937.1289], [], 0, "CAN_COLLIDE"];
|
||||
_unit_235 = _this;
|
||||
_this setDir 117.07826;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2277,7 +2277,7 @@ if (true) then
|
||||
_unit_236 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_1 createAgent ["Soldier_TL_PMC", [4802.3784, 7338.2749, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["Soldier_TL_PMC", [4802.3784, 7338.2749, 3.6239624e-005], [], 0, "CAN_COLLIDE"];
|
||||
_unit_236 = _this;
|
||||
_this setDir 175.74536;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2287,7 +2287,7 @@ if (true) then
|
||||
_unit_237 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_2 createAgent ["RU_Farmwife4", [3945.803, 879.50177, 1.3585551], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["RU_Farmwife4", [3945.803, 879.50177, 1.3585551], [], 0, "CAN_COLLIDE"];
|
||||
_unit_237 = _this;
|
||||
_this setDir -41.754269;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2297,7 +2297,7 @@ if (true) then
|
||||
_unit_238 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_1 createAgent ["CIV_Contractor1_BAF", [3932.2576, 883.86243, 2.7418137e-006], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["CIV_Contractor1_BAF", [3932.2576, 883.86243, 2.7418137e-006], [], 0, "CAN_COLLIDE"];
|
||||
_unit_238 = _this;
|
||||
_this setDir -60.566174;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
@@ -2398,7 +2398,7 @@ if (true) then
|
||||
_unit_240 = objNull;
|
||||
if (true) then
|
||||
{
|
||||
_this = _group_1 createAgent ["GUE_Soldier_GL", [5345.3501, 2304.4453, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
|
||||
_this = createAgent ["GUE_Soldier_GL", [5345.3501, 2304.4453, 2.2888184e-005], [], 0, "CAN_COLLIDE"];
|
||||
_unit_240 = _this;
|
||||
_this setDir 45.32769;
|
||||
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0; ";
|
||||
|
||||
Reference in New Issue
Block a user