mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fixed issue in 2.1.1, targets not engaged when flying from parking spot.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
--BASE:TraceClass("AI_A2A_DISPATCHER")
|
||||
BASE:TraceClass("AI_A2A_GCICAP")
|
||||
|
||||
--- **AI** - The AI_A2A_DISPATCHER creates an automatic A2A defense system based on an EWR network targets and coordinating CAP and GCI.
|
||||
--
|
||||
-- 
|
||||
@@ -155,7 +158,7 @@
|
||||
--
|
||||
-- @module AI_A2A_Dispatcher
|
||||
|
||||
--BASE:TraceClass("AI_A2A_DISPATCHER")
|
||||
|
||||
|
||||
do -- AI_A2A_DISPATCHER
|
||||
|
||||
@@ -2255,7 +2258,7 @@ do -- AI_A2A_DISPATCHER
|
||||
Fsm:SetDispatcher( self )
|
||||
Fsm:SetHomeAirbase( DefenderSquadron.Airbase )
|
||||
Fsm:Start()
|
||||
Fsm:__Engage( 1, Target.Set ) -- Engage on the TargetSetUnit
|
||||
Fsm:__Engage( 5, Target.Set ) -- Engage on the TargetSetUnit
|
||||
|
||||
|
||||
self:SetDefenderTask( DefenderGCI, "GCI", Fsm, Target )
|
||||
|
||||
Reference in New Issue
Block a user