New TASK CAPTURE DISPATCHER class.

This class allows to send capture tasks to players.
It needs a ZONE_CAPTURE_COALITION class to function.
This commit is contained in:
FlightControl
2019-03-06 22:40:44 +01:00
parent dca772cac6
commit 23f92e49dd
4 changed files with 333 additions and 22 deletions

View File

@@ -556,6 +556,8 @@ do -- ZONE_CAPTURE_COALITION
--- @param #ZONE_CAPTURE_COALITION self
function ZONE_CAPTURE_COALITION:onenterCaptured()
self:F({"hello"})
self:GetParent( self, ZONE_CAPTURE_COALITION ).onenterCaptured( self )
self.Goal:Achieved()
@@ -643,6 +645,7 @@ do -- ZONE_CAPTURE_COALITION
self:SetCoalition( NewCoalition )
self:Mark()
self.Goal:Achieved()
end