mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
commit
cfb3004142
@ -5802,11 +5802,9 @@ function AUFTRAG:GetDCSMissionTask()
|
|||||||
-- SEAD Mission --
|
-- SEAD Mission --
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
--[[
|
-- Add enroute task SEAD. Disabled that here because the group enganges everything on its route.
|
||||||
local DCStask=CONTROLLABLE.EnRouteTaskEngageTargets(nil, nil ,{"Air Defence"} , 0)
|
--local DCStask=CONTROLLABLE.EnRouteTaskSEAD(nil, self.TargetType)
|
||||||
table.insert(self.enrouteTasks, DCStask)
|
--table.insert(self.enrouteTasks, DCStask)
|
||||||
DCStask.key="SEAD"
|
|
||||||
]]
|
|
||||||
|
|
||||||
self:_GetDCSAttackTask(self.engageTarget, DCStasks)
|
self:_GetDCSAttackTask(self.engageTarget, DCStasks)
|
||||||
|
|
||||||
|
|||||||
@ -2949,6 +2949,9 @@ function LEGION:AssignAssetsForEscort(Cohorts, Assets, NescortMin, NescortMax, M
|
|||||||
-- For a SEAD mission, we also adjust the mission task.
|
-- For a SEAD mission, we also adjust the mission task.
|
||||||
if MissionType==AUFTRAG.Type.SEAD then
|
if MissionType==AUFTRAG.Type.SEAD then
|
||||||
escort.missionTask=ENUMS.MissionTask.SEAD
|
escort.missionTask=ENUMS.MissionTask.SEAD
|
||||||
|
-- Add enroute task SEAD.
|
||||||
|
local DCStask=CONTROLLABLE.EnRouteTaskSEAD(nil)
|
||||||
|
table.insert(escort.enrouteTasks, DCStask)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Reserve assts and add to mission.
|
-- Reserve assts and add to mission.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user