- Added enroute task SEAD to escort
This commit is contained in:
Frank
2023-01-21 22:42:57 +01:00
parent d0d21a6b5d
commit a4e52c6c3c
2 changed files with 6 additions and 5 deletions

View File

@@ -5779,11 +5779,9 @@ function AUFTRAG:GetDCSMissionTask()
-- SEAD Mission --
------------------
--[[
local DCStask=CONTROLLABLE.EnRouteTaskEngageTargets(nil, nil ,{"Air Defence"} , 0)
table.insert(self.enrouteTasks, DCStask)
DCStask.key="SEAD"
]]
-- Add enroute task SEAD. Disabled that here because the group enganges everything on its route.
--local DCStask=CONTROLLABLE.EnRouteTaskSEAD(nil, self.TargetType)
--table.insert(self.enrouteTasks, DCStask)
self:_GetDCSAttackTask(self.engageTarget, DCStasks)