createagent fix

This commit is contained in:
Zac Surplice
2013-11-27 12:46:45 +11:00
parent 1670955205
commit 46a0eb2c9b
14 changed files with 373 additions and 373 deletions

View File

@@ -64,12 +64,12 @@ if (true) then
_this = createCenter civilian;
_center_1 = _this;
_group_1 = createGroup _center_1;
= createGroup _center_1;
_unit_13 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Profiteer4", [11449.484, 11341.03, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Profiteer4", [11449.484, 11341.03, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
_unit_13 = _this;
_this setDir 34.525925;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -79,7 +79,7 @@ if (true) then
_unit_17 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Villager3", [7996.1021, 2899.0759, 0.6355527], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Villager3", [7996.1021, 2899.0759, 0.6355527], [], 0, "CAN_COLLIDE"];
_unit_17 = _this;
_this setDir 86.85891;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -144,7 +144,7 @@ if (true) then
_unit_56 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Worker3", [4041.6206, 11668.891, 0.23954971], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Worker3", [4041.6206, 11668.891, 0.23954971], [], 0, "CAN_COLLIDE"];
_unit_56 = _this;
_this setDir 24.912832;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -154,7 +154,7 @@ if (true) then
_unit_57 = objNull;
if (true) then
{
_this = _group_1 createAgent ["CIV_EuroMan01_EP1", [4064.0681, 11680.065, -0.038146973], [], 0, "CAN_COLLIDE"];
_this = createAgent ["CIV_EuroMan01_EP1", [4064.0681, 11680.065, -0.038146973], [], 0, "CAN_COLLIDE"];
_unit_57 = _this;
_this setDir 231.00745;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -164,7 +164,7 @@ if (true) then
_unit_58 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_WorkWoman5", [4071.9915, 11676.731, 0.54440308], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_WorkWoman5", [4071.9915, 11676.731, 0.54440308], [], 0, "CAN_COLLIDE"];
_unit_58 = _this;
_this setDir 566.81744;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -174,7 +174,7 @@ if (true) then
_unit_59 = objNull;
if (true) then
{
_this = _group_1 createAgent ["TK_GUE_Soldier_5_EP1", [4054.218, 11664.668, -0.51617432], [], 0, "CAN_COLLIDE"];
_this = createAgent ["TK_GUE_Soldier_5_EP1", [4054.218, 11664.668, -0.51617432], [], 0, "CAN_COLLIDE"];
_unit_59 = _this;
_this setDir 422.9967;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -184,7 +184,7 @@ if (true) then
_unit_60 = objNull;
if (true) then
{
_this = _group_1 createAgent ["CIV_EuroMan02_EP1", [4058.0457, 11678.723, 0.33944702], [], 0, "CAN_COLLIDE"];
_this = createAgent ["CIV_EuroMan02_EP1", [4058.0457, 11678.723, 0.33944702], [], 0, "CAN_COLLIDE"];
_unit_60 = _this;
_this setDir 89.890854;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -194,7 +194,7 @@ if (true) then
_unit_62 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Dr_Hladik_EP1", [6314.0962, 7791.5308, 0.51730686], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Dr_Hladik_EP1", [6314.0962, 7791.5308, 0.51730686], [], 0, "CAN_COLLIDE"];
_unit_62 = _this;
_this setDir 577.32629;
_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_73 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Functionary1", [12946.349, 12766.593, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Functionary1", [12946.349, 12766.593, 2.0980835e-005], [], 0, "CAN_COLLIDE"];
_unit_73 = _this;
_this setDir 194.24156;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -680,7 +680,7 @@ if (true) then
_unit_74 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Woodlander1", [11471.179, 11361.226, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Woodlander1", [11471.179, 11361.226, -9.1552734e-005], [], 0, "CAN_COLLIDE"];
_unit_74 = _this;
_this setDir 250.1544;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -690,7 +690,7 @@ if (true) then
_unit_75 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_WorkWoman1", [11463.931, 11351.671, 0.94462103], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_WorkWoman1", [11463.931, 11351.671, 0.94462103], [], 0, "CAN_COLLIDE"];
_unit_75 = _this;
_this setDir 261.27719;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -700,7 +700,7 @@ if (true) then
_unit_78 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Rocker4", [11465.548, 11354.459], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Rocker4", [11465.548, 11354.459], [], 0, "CAN_COLLIDE"];
_unit_78 = _this;
_this setDir 310.03851;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -710,7 +710,7 @@ if (true) then
_unit_79 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Citizen3", [11462.307, 11365.972, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Citizen3", [11462.307, 11365.972, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_unit_79 = _this;
_this setDir 125.74001;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -720,7 +720,7 @@ if (true) then
_unit_82 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Dr_Annie_Baker_EP1", [11472.008, 11370.638], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Dr_Annie_Baker_EP1", [11472.008, 11370.638], [], 0, "CAN_COLLIDE"];
_unit_82 = _this;
_this setDir 208.20467;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -730,7 +730,7 @@ if (true) then
_unit_84 = objNull;
if (true) then
{
_this = _group_1 createAgent ["TK_CIV_Takistani04_EP1", [6321.0005, 7794.4478, 0.98069924], [], 0, "CAN_COLLIDE"];
_this = createAgent ["TK_CIV_Takistani04_EP1", [6321.0005, 7794.4478, 0.98069924], [], 0, "CAN_COLLIDE"];
_unit_84 = _this;
_this setDir 359.64191;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -838,7 +838,7 @@ if (true) then
_unit_90 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Citizen4", [13530.905, 6356.7388, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Citizen4", [13530.905, 6356.7388, 1.7166138e-005], [], 0, "CAN_COLLIDE"];
_unit_90 = _this;
_this setDir 102.75758;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -848,7 +848,7 @@ if (true) then
_unit_91 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Citizen1", [4360.6211, 2260.9841, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Citizen1", [4360.6211, 2260.9841, 3.8146973e-006], [], 0, "CAN_COLLIDE"];
_unit_91 = _this;
_this setDir 196.69872;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -875,7 +875,7 @@ if (true) then
_unit_94 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Pilot_EP1", [6317.0498, 7797.918, -0.28563881], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Pilot_EP1", [6317.0498, 7797.918, -0.28563881], [], 0, "CAN_COLLIDE"];
_unit_94 = _this;
_this setDir 464.17493;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -885,7 +885,7 @@ if (true) then
_unit_95 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Rita_Ensler_EP1", [6310.7803, 7794.5054, 0.88001078], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Rita_Ensler_EP1", [6310.7803, 7794.5054, 0.88001078], [], 0, "CAN_COLLIDE"];
_unit_95 = _this;
_this setDir -114.43345;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1047,7 +1047,7 @@ if (true) then
_unit_97 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Worker2", [12061.648, 12636.292, 0.020880492], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Worker2", [12061.648, 12636.292, 0.020880492], [], 0, "CAN_COLLIDE"];
_unit_97 = _this;
_this setDir 19.92712;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1113,12 +1113,12 @@ if (true) then
_this = createCenter resistance;
_center_2 = _this;
_group_2 = createGroup _center_2;
= createGroup _center_2;
_unit_108 = objNull;
if (true) then
{
_this = _group_2 createAgent ["GUE_Soldier_MG", [1623.1722, 7797.7886, 0.25734121], [], 0, "CAN_COLLIDE"];
_this = createAgent ["GUE_Soldier_MG", [1623.1722, 7797.7886, 0.25734121], [], 0, "CAN_COLLIDE"];
_unit_108 = _this;
_this setDir 274.59872;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1252,7 +1252,7 @@ if (true) then
_unit_118 = objNull;
if (true) then
{
_this = _group_1 createAgent ["RU_Profiteer4", [6300.312, 7800.5874, -0.034530878], [], 0, "CAN_COLLIDE"];
_this = createAgent ["RU_Profiteer4", [6300.312, 7800.5874, -0.034530878], [], 0, "CAN_COLLIDE"];
_unit_118 = _this;
_this setDir -49.359165;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1279,7 +1279,7 @@ if (true) then
_unit_122 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Woodlander3", [6317.9883, 7789.3345, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Woodlander3", [6317.9883, 7789.3345, 3.0517578e-005], [], 0, "CAN_COLLIDE"];
_unit_122 = _this;
_this setDir -130.79149;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1309,7 +1309,7 @@ if (true) then
_unit_124 = objNull;
if (true) then
{
_this = _group_1 createAgent ["HouseWife1", [13468.382, 5439.5752, 2.8821261], [], 0, "CAN_COLLIDE"];
_this = createAgent ["HouseWife1", [13468.382, 5439.5752, 2.8821261], [], 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;";
@@ -1345,7 +1345,7 @@ if (true) then
_unit_128 = objNull;
if (true) then
{
_this = _group_1 createAgent ["Doctor", [4059.437, 11660.436], [], 0, "CAN_COLLIDE"];
_this = createAgent ["Doctor", [4059.437, 11660.436], [], 0, "CAN_COLLIDE"];
_unit_128 = _this;
_this setDir 24.266853;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";
@@ -1489,7 +1489,7 @@ if (true) then
_unit_132 = objNull;
if (true) then
{
_this = _group_2 createAgent ["GUE_Woodlander2", [6321.0439, 7781.0288], [], 0, "CAN_COLLIDE"];
_this = createAgent ["GUE_Woodlander2", [6321.0439, 7781.0288], [], 0, "CAN_COLLIDE"];
_unit_132 = _this;
_this setDir 9.6638927;
_this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;";