MF_AbstractTargeting
Base class for targeting scripts. And also provides a common point of reference for certain variables used by other scripts.
Public Variables
target : GameObject
The current target that the targeting script has chosen.
receivingObject : GameObject
This location will be used to find MF_AbstractPlatform, MF_AbstractNavigation, and MF_AbstractWeaponControl. These scripts will grab the target value themselves. This is only used to run methods that would restrict target choices, such as arc limits. If this is blank, it will default to check for MF_AbstractPlatform on the same game object, then recursively check parents until it is found.
dontSearchForReceivingObject : bool
Will suppress searching for MF_AbstractPlatform if receivingObject is blank.
dontAddToSelectScript : bool
Don't use this script when displaying targeted icons with a selection script.
Hidden Variables
platformScript : MF_AbstractPlatform
navScript : MF_AbstractNavigation
receivingControllerScript : MF_AbstractWeaponControl
These values are all attempted to be found at the location of receivingObject.
Base class for targeting scripts. And also provides a common point of reference for certain variables used by other scripts.
Public Variables
target : GameObject
The current target that the targeting script has chosen.
receivingObject : GameObject
This location will be used to find MF_AbstractPlatform, MF_AbstractNavigation, and MF_AbstractWeaponControl. These scripts will grab the target value themselves. This is only used to run methods that would restrict target choices, such as arc limits. If this is blank, it will default to check for MF_AbstractPlatform on the same game object, then recursively check parents until it is found.
dontSearchForReceivingObject : bool
Will suppress searching for MF_AbstractPlatform if receivingObject is blank.
dontAddToSelectScript : bool
Don't use this script when displaying targeted icons with a selection script.
Hidden Variables
platformScript : MF_AbstractPlatform
navScript : MF_AbstractNavigation
receivingControllerScript : MF_AbstractWeaponControl
These values are all attempted to be found at the location of receivingObject.