DCS func getCallsign

From DCS World Wiki - Hoggitworld.com

Scripting Root

Envrioment: Mission Scripting
Function: getCallsign Added with: 1.2.6
Member Of: Unit, Airbase
Syntax: string Unit.getCallsign(Class Self )
Description: Returns a localized string of the units callsign. In the case of airbases the callsign of world airbases is defined by the game. Callsigns for units, farps, or ships can be specified by the user with the mission editor or scripting engine.

Return Value: string
Return Example: Uzi 11
Related Functions: Unit Functions: isActive, getPlayerName, getID, getNumber, getController, getGroup, getCallsign, getLife, getLife0, getFuel, getAmmo, getSensors, hasSensors, getRadar, getDrawArgumentValue, getNearestCargos, enableEmission

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

Coalition Object Functions: getCoalition, getCountry

Notes: Callsigns differ between red and blue coalitions.