mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
- Added rearming zones - Improved rearming
This commit is contained in:
@@ -787,6 +787,20 @@ function AIRWING:onafterStatus(From, Event, To)
|
||||
-- Check Rescue Helo missions.
|
||||
self:CheckRescuhelo()
|
||||
|
||||
----------------
|
||||
-- Transport ---
|
||||
----------------
|
||||
|
||||
-- Check transport queue.
|
||||
self:CheckTransportQueue()
|
||||
|
||||
--------------
|
||||
-- Mission ---
|
||||
--------------
|
||||
|
||||
-- Check mission queue.
|
||||
self:CheckMissionQueue()
|
||||
|
||||
|
||||
-- General info:
|
||||
if self.verbose>=1 then
|
||||
@@ -843,36 +857,6 @@ function AIRWING:onafterStatus(From, Event, To)
|
||||
self:I(self.lid..text)
|
||||
end
|
||||
|
||||
----------------
|
||||
-- Transport ---
|
||||
----------------
|
||||
|
||||
-- Check if any transports should be cancelled.
|
||||
--self:_CheckTransports()
|
||||
|
||||
-- Get next mission.
|
||||
local transport=self:_GetNextTransport()
|
||||
|
||||
-- Request mission execution.
|
||||
if transport then
|
||||
self:TransportRequest(transport)
|
||||
end
|
||||
|
||||
--------------
|
||||
-- Mission ---
|
||||
--------------
|
||||
|
||||
-- Check if any missions should be cancelled.
|
||||
self:_CheckMissions()
|
||||
|
||||
-- Get next mission.
|
||||
local mission=self:_GetNextMission()
|
||||
|
||||
-- Request mission execution.
|
||||
if mission then
|
||||
self:MissionRequest(mission)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
--- Get patrol data.
|
||||
|
||||
Reference in New Issue
Block a user