This commit is contained in:
FlightControl
2017-05-18 20:53:15 +02:00
parent 3106f62709
commit 312007b51c
6 changed files with 879 additions and 842 deletions

View File

@@ -1404,9 +1404,7 @@ function TASK:ReportDetails( TaskGroup ) --R2.1 fixed report. Now nicely formatt
if TaskInfoID == "Coordinates" then
local FromCoordinate = TaskGroup:GetUnit(1):GetCoordinate()
Report:Add( TaskInfoIDText )
Report:AddIndent( TaskInfo:ToStringLL() )
Report:AddIndent( TaskInfo:ToStringMGRS() )
Report:AddIndent( TaskInfo:ToStringBRAA( FromCoordinate ) )
Report:AddIndent( TaskInfo:ToStringBRAA( FromCoordinate ) .. ", " .. TaskInfo:ToStringAspect( FromCoordinate ) )
Report:AddIndent( TaskInfo:ToStringBULLS( TaskGroup:GetCoalition() ) )
else
end

View File

@@ -73,6 +73,7 @@ do -- TASK_A2A_DISPATCHER
self.Detection:FilterCategories( Unit.Category.AIRPLANE, Unit.Category.HELICOPTER )
self.Detection:InitDetectRadar( true )
self.Detection:SetDetectionInterval(30)
self:AddTransition( "Started", "Assign", "Started" )
@@ -191,6 +192,7 @@ do -- TASK_A2A_DISPATCHER
Task:SetInfo( "Targets", string.format( "%d of %s", DetectedItemsCount, DetectedItemsTypes ) )
Task:SetInfo( "Coordinates", Detection:GetDetectedItemCoordinate( DetectedIndex ) )
Task:SetInfo( "Changes", Detection:GetChangeText( DetectedItem ) )
Task:SetInfo( "Object", DetectedSet:GetFirst() )
Mission:AddTask( Task )
else
self:E("This should not happen")