mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Removed the escorts to detect targets using DLINK. Now escorts will only report targets that were detected by its own onboard detection methods.
This commit is contained in:
parent
1c559110a2
commit
fbb32a9e45
@ -349,6 +349,15 @@ function AI_ESCORT:onafterStart( EscortGroupSet )
|
||||
|
||||
self.Detection = DETECTION_AREAS:New( EscortGroupSet, 5000 )
|
||||
|
||||
-- This only makes the escort report detections made by the escort, not through DLINK.
|
||||
-- These must be enquired using other facilities.
|
||||
-- In this way, the escort will report the target areas that are relevant for the mission.
|
||||
self.Detection:InitDetectVisual( true )
|
||||
self.Detection:InitDetectIRST( true )
|
||||
self.Detection:InitDetectOptical( true )
|
||||
self.Detection:InitDetectRadar( true )
|
||||
self.Detection:InitDetectRWR( true )
|
||||
|
||||
self.Detection:__Start( 30 )
|
||||
|
||||
self.MainMenu = MENU_GROUP:New( self.PlayerGroup, self.EscortName )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user