Mission Progress Report added

This reports lists for the tasks in the mission which players have made
progress for that task.
This commit is contained in:
FlightControl
2017-06-25 07:28:55 +02:00
parent 6a2869138e
commit 6b920ea3f4
4 changed files with 113 additions and 4 deletions

View File

@@ -60,7 +60,7 @@ do -- TASK_A2G
self.TargetSetUnit = TargetSetUnit
self.TaskType = TaskType
local Fsm = self:GetUnitProcess()
@@ -266,7 +266,17 @@ do -- TASK_A2G
local ActRouteTarget = ProcessUnit:GetProcess( "Engaging", "RouteToTargetZone" ) -- Actions.Act_Route#ACT_ROUTE_ZONE
return ActRouteTarget:GetZone()
end
function TASK_A2G:SetGoalTotal()
self.GoalTotal = self.TargetSetUnit:Count()
end
function TASK_A2G:GetGoalTotal()
return self.GoalTotal
end
end