mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
OPS
Good version solving a few bugs and adding some new stuff.
This commit is contained in:
@@ -114,6 +114,9 @@ function NAVYGROUP:New(group)
|
||||
return og
|
||||
end
|
||||
|
||||
-- First set NAVYGROUP.
|
||||
self.isNavygroup=true
|
||||
|
||||
-- Inherit everything from FSM class.
|
||||
local self=BASE:Inherit(self, OPSGROUP:New(group)) -- #NAVYGROUP
|
||||
|
||||
@@ -126,7 +129,6 @@ function NAVYGROUP:New(group)
|
||||
self:SetDefaultAlarmstate()
|
||||
self:SetPatrolAdInfinitum(true)
|
||||
self:SetPathfinding(false)
|
||||
self.isNavygroup=true
|
||||
|
||||
-- Add FSM transitions.
|
||||
-- From State --> Event --> To State
|
||||
|
||||
Reference in New Issue
Block a user