DCS func getTarget

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: getTarget Added with: 1.2.0
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:
Related Functions: getLauncher, getTarget

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

Inherited from Coalition Object Class: getCoalition, getCountry