mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-13 17:31:41 +00:00
OPS
**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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user