This commit is contained in:
Frank
2020-02-16 17:38:37 +01:00
parent 014b07ffc3
commit fd7469b5f0
2 changed files with 11 additions and 2 deletions
@@ -1085,6 +1085,7 @@ end
-- @param #table waypoints Table of waypoints.
-- @return #FLIGHTGROUP self
function FLIGHTGROUP:Route(waypoints)
if self:IsAlive() then
-- DCS task combo.
@@ -1106,7 +1107,11 @@ function FLIGHTGROUP:Route(waypoints)
-- Set tasks.
self:SetTask(TaskCombo)
else
self:I(self.lid.."FF ERROR!")
end
return self
end
@@ -2233,8 +2233,12 @@ end
function CONTROLLABLE:TaskRoute( Points )
self:F2( Points )
local DCSTask
DCSTask = { id = 'Mission', params = { route = { points = Points, }, }, }
local DCSTask = {
id = 'Mission',
params = {
route = { points = Points, },
},
}
self:T3( { DCSTask } )
return DCSTask