mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update Airboss.lua
This commit is contained in:
@@ -5973,7 +5973,7 @@ function AIRBOSS:_ScanCarrierZone()
|
|||||||
local awacs2marshal = isawacs and self.awacs:IsReturning() and self.awacs.airbase:GetName()==self.airbase:GetName() and knownflight.flag==-100 and self.awacs.recovery==true
|
local awacs2marshal = isawacs and self.awacs:IsReturning() and self.awacs.airbase:GetName()==self.airbase:GetName() and knownflight.flag==-100 and self.awacs.recovery==true
|
||||||
|
|
||||||
-- Put flight into Marshal.
|
-- Put flight into Marshal.
|
||||||
local putintomarshal=closein>UTILS.NMToMeters(5) and knownflight.flag==-100 and iscarriersquad and istanker==false and isawacs==false
|
local putintomarshal=closein>UTILS.NMToMeters(5) and knownflight.flag==-100 and iscarriersquad and (not istanker) and (not isawacs)
|
||||||
|
|
||||||
-- Send AI flight to marshal stack if group closes in more than 5 and has initial flag value.
|
-- Send AI flight to marshal stack if group closes in more than 5 and has initial flag value.
|
||||||
if putintomarshal or tanker2marshal or awacs2marshal then
|
if putintomarshal or tanker2marshal or awacs2marshal then
|
||||||
|
|||||||
Reference in New Issue
Block a user