mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user