mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Optimizations for detection
-- Detected range will now correctly update between detections. -- Detected known or unknown type will now be correctly reported. -- Detected distance is now correctly estimated or known. -- Removed visual detection, because it just is not working correctly. -- Cleaned up the code. -- Added new fields in DetectedObject structure. -- Added parameters for IsTargetDetected API
This commit is contained in:
@@ -1782,7 +1782,7 @@ function CONTROLLABLE:GetDetectedTargets( DetectVisual, DetectOptical, DetectRad
|
||||
return nil
|
||||
end
|
||||
|
||||
function CONTROLLABLE:IsTargetDetected( DCSObject )
|
||||
function CONTROLLABLE:IsTargetDetected( DCSObject, DetectVisual, DetectOptical, DetectRadar, DetectIRST, DetectRWR, DetectDLINK )
|
||||
self:F2( self.ControllableName )
|
||||
|
||||
local DCSControllable = self:GetDCSObject()
|
||||
|
||||
Reference in New Issue
Block a user