Recovery tanker

This commit is contained in:
Frank
2022-04-28 20:50:30 +02:00
parent 3a907ec7c2
commit 02dad179cd
2 changed files with 69 additions and 1 deletions

View File

@@ -5128,7 +5128,7 @@ function OPSGROUP:RouteToMission(mission, delay)
---
-- Relocation
---
-- Roughly go to the new legion.
local ToCoordinate=mission.DCStask.params.legion:GetCoordinate()
@@ -5138,6 +5138,16 @@ function OPSGROUP:RouteToMission(mission, delay)
waypointcoord=self:GetCoordinate():GetIntermediateCoordinate(ToCoordinate, 0.05)
end
elseif mission.type==AUFTRAG.Type.RECOVERYTANKER then
---
-- Recoverytanker
---
-- Roughly go to the new legion.
local CarrierCoordinate=mission.DCStask.params.carrier:GetCoordinate()
waypointcoord=CarrierCoordinate:Translate(5000, 90):SetAltitude(2000)
else
---
-- Default case