mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-11 11:48:38 +00:00
FG
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user