Difference between revisions of "DCS func getRadar"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
Line 44: Line 44:
 
}}
 
}}
 
[[Category:Class Functions|getRadar]]
 
[[Category:Class Functions|getRadar]]
 +
[[Category:Game Patch 1.2.0|getRadar]]

Latest revision as of 00:07, 21 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: getRadar Added with: 1.2.0
Member Of: Unit
Syntax: boolean, Object Unit.getRadar(Class Self )
Description: Returns two values. The first value is a boolean indicating if any radar on the Unit is operational. The second value is the Object the radar is most interested in and/or actively tracking.


Return Value: boolean, Object
Return Example: val1: true or false

val2: Any object

Examples:
Related Functions: Unit Functions: isActive, getPlayerName, getID, getNumber, getCategoryEx, getObjectID, getController, getGroup, getCallsign, getLife, getLife0, getFuel, getAmmo, getSensors, hasSensors, getRadar, getDrawArgumentValue, getNearestCargos, enableEmission, getDescentCapacity

Object Functions: isExist, destroy, getCategory, getTypeName, getDesc, hasAttribute, getName, getPoint, getPosition, getVelocity, inAir

Coalition Object Functions: getCoalition, getCountry

Notes: