mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-26 14:55:24 +00:00
Merge branch 'develop' into FF/Fox2
This commit is contained in:
@@ -210,4 +210,3 @@ function AI_A2A_CAP:CreateAttackUnitTasks( AttackSetUnit, DefenderGroup, EngageA
|
||||
|
||||
return AttackUnitTasks
|
||||
end
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
--
|
||||
-- ## 4. Is a border required?
|
||||
--
|
||||
-- Is this a cold car or a hot war situation? In case of a cold war situation, a border can be set that will only trigger defenses
|
||||
-- Is this a cold war or a hot war situation? In case of a cold war situation, a border can be set that will only trigger defenses
|
||||
-- if the border is crossed by enemy units.
|
||||
--
|
||||
-- ## 5. What maximum range needs to be checked to allow defenses to engage any attacker?
|
||||
@@ -4525,4 +4525,3 @@ do
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
@@ -172,7 +172,3 @@ function AI_A2A_GCI:CreateAttackUnitTasks( AttackSetUnit, DefenderGroup, EngageA
|
||||
|
||||
return AttackUnitTasks
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
-- Creates the main object which is preventing the airbase to get polluted with debris on the runway, which halts the airbase.
|
||||
--
|
||||
-- -- Clean these Zones.
|
||||
-- CleanUpAirports = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Tbilisi, AIRBASE.Caucasus.Kutaisi )
|
||||
-- CleanUpAirports = CLEANUP_AIRBASE:New( { AIRBASE.Caucasus.Tbilisi, AIRBASE.Caucasus.Kutaisi } )
|
||||
--
|
||||
-- -- or
|
||||
-- CleanUpTbilisi = CLEANUP_AIRBASE:New( AIRBASE.Caucasus.Tbilisi )
|
||||
@@ -245,7 +245,7 @@ end
|
||||
function CLEANUP_AIRBASE.__:OnEventBirth( EventData )
|
||||
self:F( { EventData } )
|
||||
|
||||
if EventData.IniUnit:IsAlive() ~= nil then
|
||||
if EventData and EventData.IniUnit and EventData.IniUnit:IsAlive() ~= nil then
|
||||
if self:IsInAirbase( EventData.IniUnit:GetVec2() ) then
|
||||
self.CleanUpList[EventData.IniDCSUnitName] = {}
|
||||
self.CleanUpList[EventData.IniDCSUnitName].CleanUpUnit = EventData.IniUnit
|
||||
@@ -442,4 +442,3 @@ function CLEANUP_AIRBASE.__:CleanUpSchedule()
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
|
||||
@@ -1766,7 +1766,7 @@ _WAREHOUSEDB = {
|
||||
|
||||
--- Warehouse class version.
|
||||
-- @field #string version
|
||||
WAREHOUSE.version="1.0.1"
|
||||
WAREHOUSE.version="1.0.2"
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
-- TODO: Warehouse todo list.
|
||||
|
||||
Reference in New Issue
Block a user