This commit is contained in:
FlightControl 2019-03-21 06:31:13 +01:00
parent 310ba9bb8a
commit b1e99dc317
2 changed files with 4 additions and 1 deletions

View File

@ -284,7 +284,7 @@ do -- TASK_CAPTURE_DISPATCHER
end
function CaptureZone.Task.OnEnterSuccess( Task, From, Event, To )
self:Success( Task )
--self:Success( Task )
if self.AI_A2G_Dispatcher then
self.AI_A2G_Dispatcher:Lock( Task.TaskZoneName ) -- This will lock the zone from being defended by AI.
end

View File

@ -213,6 +213,8 @@ do -- TASK_CAPTURE_ZONE
self:UpdateTaskInfo( true )
self:SetGoalTotal( 1 )
return self
end
@ -261,6 +263,7 @@ do -- TASK_CAPTURE_ZONE
Scoring:_AddMissionGoalScore( self.Mission, PlayerName, "Zone " .. self.ZoneGoal:GetZoneName() .." captured", PlayerContribution * 200 / TotalContributions )
end
end
self:AddProgress( PlayerName, "Zone " .. self.ZoneGoal:GetZoneName() .." captured", timer.getTime() , 1 )
end
end