- Fixed bug in parking spot distance for ships.
- Added enroute  anti-ship task for anti-ship missions.
This commit is contained in:
Frank
2022-07-18 22:59:49 +02:00
parent f23416dfb8
commit 888734b7d1
5 changed files with 81 additions and 11 deletions

View File

@@ -5282,6 +5282,10 @@ function AUFTRAG:GetDCSMissionTask()
-- ANTISHIP Mission --
----------------------
-- Add enroute anti-ship task.
local DCStask=CONTROLLABLE.EnRouteTaskAntiShip(nil)
table.insert(self.enrouteTasks, DCStask)
self:_GetDCSAttackTask(self.engageTarget, DCStasks)
elseif self.type==AUFTRAG.Type.AWACS then
@@ -5620,8 +5624,6 @@ function AUFTRAG:GetDCSMissionTask()
end
--table.insert(DCStasks, DCStask)
elseif self.type==AUFTRAG.Type.BARRAGE then
---------------------