**OPSGROUP**
- Improved routing for ground.

**NAVYGROUP**
- Fixed U-turn of turn into wind

**ARMYGROUP**
- Improved updateroute

**LEGION** and **COMMANDER**
- Set mission range LARGE for relocation mission

**AUFTRAG**
- Fixed bug in Nassets for relocation
This commit is contained in:
Frank
2022-05-17 22:50:35 +02:00
parent 64e70d8e92
commit 47c3fc35e3
10 changed files with 194 additions and 58 deletions
+14 -1
View File
@@ -2112,6 +2112,10 @@ function AUFTRAG:_NewRELOCATECOHORT(Legion, Cohort)
mission.DCStask=mission:GetDCSMissionTask()
if Cohort.isGround then
mission.optionFormation=ENUMS.Formation.Vehicle.OnRoad
end
mission.DCStask.params.legion=Legion
mission.DCStask.params.cohort=Cohort
@@ -2505,8 +2509,17 @@ function AUFTRAG:GetRequiredAssets(Legion)
--if Legion and self.Nassets[Legion.alias] then
-- N=self.Nassets[Legion.alias]
--end
local Nmin=self.NassetsMin
local Nmax=self.NassetsMax
if self.type==AUFTRAG.Type.RELOCATECOHORT then
local cohort=self.DCStask.params.cohort --Ops.Cohort#COHORT
Nmin=#cohort.assets
Nmax=Nmin
end
return self.NassetsMin, self.NassetsMax
return Nmin, Nmax
end
--- **[LEGION, COMMANDER, CHIEF]** Define how many assets are required that escort the mission assets.