Difference between revisions of "DCS func getCallsign"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
(One intermediate revision by the same user not shown)
Line 34: Line 34:
  
 
|related= [[DCS_Class_Unit|'''Unit Functions:''']] {{listOfScriptingUnitFuncs}}
 
|related= [[DCS_Class_Unit|'''Unit Functions:''']] {{listOfScriptingUnitFuncs}}
[[DCS_Class_Object|'''Object Functions:''']] {{listofScriptingObjectFuncs}}
+
[[DCS_Class_Airbase|'''Airbase Functions:''']] {{listOfScriptingAirbaseFuncs}}
 
 
[[DCS_Class_Coalition_Object| '''Coalition Object Functions:''']] {{listofScriptingCoaObjectFuncs}}
 
  
 
|notes= Callsigns differ between red and blue coalitions.  
 
|notes= Callsigns differ between red and blue coalitions.  
 
}}
 
}}
 
[[Category:Class Functions|getCallsign]]
 
[[Category:Class Functions|getCallsign]]
 +
[[Category:Game Patch 1.2.6|getCallsign]]

Latest revision as of 23:11, 17 March 2022

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
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

Airbase Functions: getCallsign, getUnit, getID, getCategoryEx, getParking, getRunways, getTechObjectPos, getRadioSilentMode, setRadioSilentMode, autoCapture, autoCaptureIsOn, setCoalition, getWarehouse,

Notes: Callsigns differ between red and blue coalitions.