Warehosue v0.3.8

Added AAA, SAM, UAV general attributes.
Added Quantity enumerator.
Updated to new dispatcher API (still WIP).
Improved handling for immobile groups.
Fixed some bugs.
This commit is contained in:
funkyfranky 2018-09-08 23:50:11 +02:00
parent 718679b5dd
commit dbd358be35
2 changed files with 459 additions and 252 deletions

View File

@ -1610,16 +1610,16 @@ do -- ZONE_AIRBASE
--- Constructor to create a ZONE_AIRBASE instance, taking the zone name, a zone @{Wrapper.Airbase#AIRBASE} and a radius.
-- @param #ZONE_AIRBASE self
-- @param #string ZoneName Name of the zone.
-- @param Wrapper.Airbase#AIRBASE ZoneAirbase The @{Wrapper.Airbase} as the center of the zone.
-- @param DCS#Distance Radius The radius of the zone.
-- @param #string AirbaseName Name of the airbase.
-- @param DCS#Distance Radius (Optional)The radius of the zone in meters. Default 4000 meters.
-- @return #ZONE_AIRBASE self
function ZONE_AIRBASE:New( AirbaseName )
function ZONE_AIRBASE:New( AirbaseName, Radius )
Radius=Radius or 4000
local Airbase = AIRBASE:FindByName( AirbaseName )
local self = BASE:Inherit( self, ZONE_RADIUS:New( AirbaseName, Airbase:GetVec2(), 4000 ) )
local self = BASE:Inherit( self, ZONE_RADIUS:New( AirbaseName, Airbase:GetVec2(), Radius ) )
self._.ZoneAirbase = Airbase
self._.ZoneVec2Cache = self._.ZoneAirbase:GetVec2()

File diff suppressed because it is too large Load Diff