Fixes accounting of destroy and updated documentation

Destroy events were not correctly accounted for in the new tasking
system. this is now fixed.
This commit is contained in:
FlightControl
2017-03-19 15:02:49 +01:00
parent bf489f6679
commit 4dde14eba6
54 changed files with 1149 additions and 1013 deletions

View File

@@ -245,7 +245,7 @@ do -- TASK_A2G_DISPATCHER
local TargetSetUnit = self:EvaluateCAS( DetectedItem ) -- Returns a SetUnit if there are targets to be SEADed...
if TargetSetUnit then
local Task = TASK_CAS:New( Mission, self.SetGroup, string.format( "CAS.%03d", ItemID ), TargetSetUnit )
--Task:SetTargetZone( DetectedZone )
Task:SetTargetZone( DetectedZone )
Task:SetDispatcher( self )
CASTask = Mission:AddTask( Task )
end