mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
PATROLZONE class + integration of PATROLZONE class in AIBALANCER class + documentation.
This commit is contained in:
@@ -494,10 +494,15 @@ end
|
||||
-- Use the method @{Group@GROUP:WayPointExecute) to start the execution of the new mission plan.
|
||||
-- Note that when WayPointInitialize is called, the Mission of the group is RESTARTED!
|
||||
-- @param #GROUP self
|
||||
-- @param #table WayPoints If WayPoints is given, then use the route.
|
||||
-- @return #GROUP
|
||||
function GROUP:WayPointInitialize()
|
||||
function GROUP:WayPointInitialize( WayPoints )
|
||||
|
||||
self.WayPoints = self:GetTaskRoute()
|
||||
if WayPoints then
|
||||
self.WayPoints = WayPoints
|
||||
else
|
||||
self.WayPoints = self:GetTaskRoute()
|
||||
end
|
||||
|
||||
return self
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user