что я мог не так написать в этом скрипте ? Не работает в версии 2.5 DCS
-- NHNHT:
mission.model:addUnit("ru_heli_1");
mission.model:addUnit("ru_heli_2");
local _cargo_Place = trigger.misc.getZone("cargo_Place_1");
local _wtch_tower = StaticObject.misc.getByName("cargo_Place_2");
local _cargo_Place_number_1 = mission.model:addcargoPlace("штаб первой дивизии", _cargo_Place.point, _cargo_Place.radius, coalition.side.RED);
local _cargo_Place_number_2 = mission.model:addcargoPlace("штаб второй дивизии", _wtch_tower:getPoint(), 75, coalition.side.RED);
local _units_templates_1 = {};
local _units_templates_2 = {};
table.insert(_units_templates_1, { unitType = "infantry_AK", playerCanDrive false, pointofset = { x = 8, y = 8 } });
table.insert(_units_templates_1, { unitType = "infantry_AK", playerCanDrive false, pointofset = { x = 12, y = 12 } });
table.insert(_units_templates_1, { unitType = "infantry_AK", playerCanDrive false, pointofset = { x = 10, y = 18 } });
table.insert(_units_templates_1, { unitType = "infantry_AK", playerCanDrive false, pointofset = { x = 18, y = 10 } });
table.insert(_units_templates_2, { unitType = "SA-18 Igla-S comm", playerCanDrive false, pointofset = { x = 8, y = 8 } });
table.insert(_units_templates_2, { unitType = "SA-18 Igla-S manpad", playerCanDrive false, pointofset = { x = 10, y = 10 } });
table.insert(_units_templates_2, { unitType = "infantry_AK", playerCanDrive false, pointofset = { x = 14, y = 18 } });
table.insert(_units_templates_2, { unitType = "infantry_AK", playerCanDrive false, pointofset = { x = 18, y = 14 } });
mission.model.cargoPlaces[_cargo_Place_number_1]:addCargoTemplate(
"infantry_1", "UH-1H", 10, _units_templates_1, 3, 3, { altitudeLessThen = 0, speedLessThen = 0, command = 1, }
country.id.RUSSIA, "взвод пехоты");
mission.model.cargoPlaces[_cargo_Place_number_1]:addcargoTemplate(
"infantry_2", "UH-1H", 10, _units_templates_2, 3, 3, { altitudeLessThen = 0, speedLessThen = 0, command = 1, }
country.id.RUSSIA, "ђасчЮт Џ‡ђЉ €гла-‘");
mission.controiier:start();
переписывал его один в один в нотепаеде