- improved FREIGHTTRANSPORT mission type
This commit is contained in:
Frank
2026-02-15 22:44:39 +01:00
parent 52986ce8de
commit 1ac0249fe5
3 changed files with 102 additions and 29 deletions
+10
View File
@@ -833,6 +833,16 @@ do -- FSM
return self._handler( self, EventName, ... )
end
end
--- Clear scheduled FSM event.
-- @param #FSM self
-- @param #string EventName Event name.
function FSM:_ClearFSMEvent( EventName )
if self._EventSchedules[EventName] then
self.CallScheduler:Remove( self._EventSchedules[EventName] )
self._EventSchedules[EventName]=nil
end
end
--- Go sub.
-- @param #FSM self