MF_AbstractTargetList
Base class for MF_B_TargetList. And also provides a common point of reference for certain variables used by other scripts.
Public Variables
targetClearTime : float
How long a target can go having not been detected before it is considered for removal from the list.
dataClearTime : float
How long a target can go having not been analyzed before certain ‘analyze data’ to be reset. However, MF_B_TargetList does not consider any data to be specifically ‘analyze data’. Therefore, no data will be removed. This is for compatibility with future assets.
clearInterval : float
How often the dictionary will check to see if a target should be dropped off the list due to having not been detected in awhile.
targetCount : int
The number of targets on the list.
Hidden Variables
lastUpdate : float
Used to correctly time target choosing.
iteratingDict : bool
Set to true when the dict holding the target list is currently being iterated. Mainly used when a coroutine is iterating over multiple frames.
Public Class AbstractTargetData
Holds the data about each target on a target list.
Many of the variables are nullable, to accommodate the concept of “not detected”, or “unknown”, in the case that you want scanners of different capabilities.
transform : Transform
The transform of this target.
cScript : MF_AbstractClassify
The classify script of this entry.
sScript : MF_AbstractStats
The stats script of this entry.
clickedPriority : bool
If true, MF_BasicTargeting will prioritize these target's above all others. This will be set if a target is added to the target list by an user click, and the selected object's MF_B_Selection script has prioritizeClickedTargets set to true.
targetPersists : bool
Targets won't drop off the target list due to expired detection time. This will be set to true due to an user clicked target, if the selected object's MF_B_Selection script has clickedTargetsPersistance set to true.
dataPersists : bool
Target data won't drop off the target list due to expired detection time.
lastDetected : float?
The last time this entry was scanned.
lastAnalyzed : float?
The last time this entry was analyzed. No distinction between detection and analysis when using MF_B_Scanner.
lingerTime : float
When the will be cleared due to non-detection.
dataLingerTime : float
When analyzer data will be cleared due to non-analyzing.
auxValue1 : float?
auxValue2 : float?
Additional variables to be used however you see fit, without needing to replace this class. (Possibly use for health, threat, etc.)
hasPrecision : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether precision data exists on the target, and where the data was sourced from.
hasAngle : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether angle data exists on the target, and where the data was sourced from.
hasRange : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether range data exists on the target, and where the data was sourced from.
hasVelocity : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether velocity data exists on the target, and where the data was sourced from.
hasFaction : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether faction data exists on the target, and where the data was sourced from.
Public Methods
All these methods are empty, and are intended to be overridden by individual target list scripts.
RefreshMarks()
TargetCount()
ClearOld()
RemoveAnalyzeData()
ContainsKey()
ClickAdd()
ClickRemove()
GetLastAnalyzed()
GetDataLingerTime()
GetHasFaction()
GetPoi()
GetJamSource()
SetClickedPriority()
Base class for MF_B_TargetList. And also provides a common point of reference for certain variables used by other scripts.
Public Variables
targetClearTime : float
How long a target can go having not been detected before it is considered for removal from the list.
dataClearTime : float
How long a target can go having not been analyzed before certain ‘analyze data’ to be reset. However, MF_B_TargetList does not consider any data to be specifically ‘analyze data’. Therefore, no data will be removed. This is for compatibility with future assets.
clearInterval : float
How often the dictionary will check to see if a target should be dropped off the list due to having not been detected in awhile.
targetCount : int
The number of targets on the list.
Hidden Variables
lastUpdate : float
Used to correctly time target choosing.
iteratingDict : bool
Set to true when the dict holding the target list is currently being iterated. Mainly used when a coroutine is iterating over multiple frames.
Public Class AbstractTargetData
Holds the data about each target on a target list.
Many of the variables are nullable, to accommodate the concept of “not detected”, or “unknown”, in the case that you want scanners of different capabilities.
transform : Transform
The transform of this target.
cScript : MF_AbstractClassify
The classify script of this entry.
sScript : MF_AbstractStats
The stats script of this entry.
clickedPriority : bool
If true, MF_BasicTargeting will prioritize these target's above all others. This will be set if a target is added to the target list by an user click, and the selected object's MF_B_Selection script has prioritizeClickedTargets set to true.
targetPersists : bool
Targets won't drop off the target list due to expired detection time. This will be set to true due to an user clicked target, if the selected object's MF_B_Selection script has clickedTargetsPersistance set to true.
dataPersists : bool
Target data won't drop off the target list due to expired detection time.
lastDetected : float?
The last time this entry was scanned.
lastAnalyzed : float?
The last time this entry was analyzed. No distinction between detection and analysis when using MF_B_Scanner.
lingerTime : float
When the will be cleared due to non-detection.
dataLingerTime : float
When analyzer data will be cleared due to non-analyzing.
auxValue1 : float?
auxValue2 : float?
Additional variables to be used however you see fit, without needing to replace this class. (Possibly use for health, threat, etc.)
hasPrecision : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether precision data exists on the target, and where the data was sourced from.
hasAngle : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether angle data exists on the target, and where the data was sourced from.
hasRange : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether range data exists on the target, and where the data was sourced from.
hasVelocity : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether velocity data exists on the target, and where the data was sourced from.
hasFaction : enum MFnum.ScanSource { None, Analyzer, Detector }
Whether faction data exists on the target, and where the data was sourced from.
Public Methods
All these methods are empty, and are intended to be overridden by individual target list scripts.
RefreshMarks()
TargetCount()
ClearOld()
RemoveAnalyzeData()
ContainsKey()
ClickAdd()
ClickRemove()
GetLastAnalyzed()
GetDataLingerTime()
GetHasFaction()
GetPoi()
GetJamSource()
SetClickedPriority()