Difference between revisions of "DCS func getUnitType"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCS_server_funcs |fName= getUnitType |vNum= 2.5.0 |par1= DCS |par2= |par3= |par4= |desc= Shortcut of DCS.getUnitProperty(missionI...")
 
(No difference)

Latest revision as of 22:51, 22 April 2018


Envrioment: Server
Function: getUnitType Added with: 2.5.0
Member Of: DCS
Syntax: string DCS.getUnitType(number missionId )
Description: Shortcut of DCS.getUnitProperty(missionId, DCS.UNIT_TYPE)


Return Value: string
Return Example: A-10C
Examples:
Related Functions: Control API: setPause, getPause, stopMission, exitProcess, isMultiplayer, isServer, getModelTime, getRealTime, getMissionOptions, getAvailableCoalitions, getAvailableSlots, getCurrentMission, getMissionName, getMissionFilename, getMissionResult, getUnitProperty, getUnitType, getUnitTypeAttribute, writeDebriefing, setUserCallbacks, makeScreenShot
Notes: