This commit is contained in:
FlightControl 2017-01-13 20:04:42 +01:00
parent f0e99225db
commit eae00a0cb8

View File

@ -175,9 +175,9 @@ function AI_PATROLZONE:New( PatrolZone, PatrolFloorAltitude, PatrolCeilingAltitu
self.PatrolFuelTresholdPercentage = 0.2 self.PatrolFuelTresholdPercentage = 0.2
self:SetStartState( "Route" ) self:SetStartState( "None" )
do self:AddTransition( "Route", "Start", "Route" ) -- FSM_CONTROLLABLE Transition for type #AI_PATROLZONE. do self:AddTransition( "*", "Start", "Route" ) -- FSM_CONTROLLABLE Transition for type #AI_PATROLZONE.
--- OnLeave State Transition for Route. --- OnLeave State Transition for Route.
-- @function [parent=#AI_PATROLZONE] OnLeaveRoute -- @function [parent=#AI_PATROLZONE] OnLeaveRoute
@ -224,7 +224,7 @@ do self:AddTransition( "Route", "Start", "Route" ) -- FSM_CONTROLLABLE Transitio
end -- AI_PATROLZONE end -- AI_PATROLZONE
do self:AddTransition( "Route", "Route", "Route" ) -- FSM_CONTROLLABLE Transition for type #AI_PATROLZONE. do self:AddTransition( "*", "Route", "Route" ) -- FSM_CONTROLLABLE Transition for type #AI_PATROLZONE.
--- OnLeave State Transition for Route. --- OnLeave State Transition for Route.
-- @function [parent=#AI_PATROLZONE] OnLeaveRoute -- @function [parent=#AI_PATROLZONE] OnLeaveRoute
@ -271,7 +271,7 @@ do self:AddTransition( "Route", "Route", "Route" ) -- FSM_CONTROLLABLE Transitio
end -- AI_PATROLZONE end -- AI_PATROLZONE
do self:AddTransition( { "Patrol", "Route" }, "Patrol", "Patrol" ) -- FSM_CONTROLLABLE Transition for type #AI_PATROLZONE. do self:AddTransition( "*", "Patrol", "Patrol" ) -- FSM_CONTROLLABLE Transition for type #AI_PATROLZONE.
--- OnLeave State Transition for Patrol. --- OnLeave State Transition for Patrol.
-- @function [parent=#AI_PATROLZONE] OnLeavePatrol -- @function [parent=#AI_PATROLZONE] OnLeavePatrol