mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Threat level report for TASK_CAPTURE_ZONE
This commit is contained in:
@@ -704,6 +704,20 @@ function ZONE_RADIUS:GetScannedUnits()
|
||||
end
|
||||
|
||||
|
||||
function ZONE_RADIUS:GetScannedSetUnit()
|
||||
|
||||
local SetUnit = SET_UNIT:New()
|
||||
|
||||
if self.ScanData then
|
||||
for ObjectID, UnitObject in pairs( self.ScanData.Units ) do
|
||||
SetUnit:AddUnit( UNIT:FindByName(UnitObject:getName() ) )
|
||||
end
|
||||
end
|
||||
|
||||
return SetUnit
|
||||
end
|
||||
|
||||
|
||||
function ZONE_RADIUS:CountScannedCoalitions()
|
||||
|
||||
local Count = 0
|
||||
|
||||
Reference in New Issue
Block a user