Progress CAS + PATROLZONE

-- Code
-- Documentation
-- Presentations
-- Dias
-- Test Missions
This commit is contained in:
FlightControl
2017-01-15 18:08:58 +01:00
parent 70a64e81a4
commit b888a0e96a
159 changed files with 67594 additions and 5145 deletions

View File

@@ -391,26 +391,6 @@ function GROUP:GetInitialSize()
return nil
end
--- Returns the UNITs wrappers of the DCS Units of the DCS Group.
-- @param #GROUP self
-- @return #table The UNITs wrappers.
function GROUP:GetUnits()
self:F2( { self.GroupName } )
local DCSGroup = self:GetDCSObject()
if DCSGroup then
local DCSUnits = DCSGroup:getUnits()
local Units = {}
for Index, UnitData in pairs( DCSUnits ) do
Units[#Units+1] = UNIT:Find( UnitData )
end
self:T3( Units )
return Units
end
return nil
end
--- Returns the DCS Units of the DCS Group.
-- @param #GROUP self