mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Recovery tanker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user