Difference between revisions of "DCS func getTarget"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 3: Line 3:
 
|fName= getTarget
 
|fName= getTarget
  
|vNum= 1.2.0
+
|vNum= 1.2.4
  
 
|par1= [[DCS_Class_Weapon|Weapon]]
 
|par1= [[DCS_Class_Weapon|Weapon]]
Line 43: Line 43:
 
}}
 
}}
 
[[Category:Class Functions|getTarget]]
 
[[Category:Class Functions|getTarget]]
 +
[[Category:Game Patch 1.2.4|getTarget]]

Latest revision as of 00:10, 21 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: getTarget Added with: 1.2.4
Member Of: Weapon
Syntax: Object Weapon.getTarget(Class Self )
Description: Returns the target object that the weapon is guiding to.


Return Value: Object
Return Example:
Examples:
Related Functions: getLauncher, getTarget, getCategoryEx

Inherited from Object Class: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir

Inherited from Coalition Object Class: getCoalition, getCountry

Notes: