mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
FLIGHTGROUP v0.6.1
- Improved engage targets
This commit is contained in:
@@ -2096,7 +2096,8 @@ end
|
||||
-- @param #OPSGROUP self
|
||||
-- @return #OPSGROUP.Task Current task or nil.
|
||||
function OPSGROUP:GetTaskCurrent()
|
||||
return self:GetTaskByID(self.taskcurrent, OPSGROUP.TaskStatus.EXECUTING)
|
||||
local task=self:GetTaskByID(self.taskcurrent, OPSGROUP.TaskStatus.EXECUTING)
|
||||
return task
|
||||
end
|
||||
|
||||
--- Get task by its id.
|
||||
@@ -2893,11 +2894,9 @@ function OPSGROUP:RouteToMission(mission, delay)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
elseif mission.type==AUFTRAG.Type.PATROLZONE then
|
||||
|
||||
end
|
||||
|
||||
-- Formation.
|
||||
local formation=nil
|
||||
if self.isGround and mission.optionFormation then
|
||||
formation=mission.optionFormation
|
||||
|
||||
Reference in New Issue
Block a user