DCS func getUnitType

From DCS World Wiki - Hoggitworld.com


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: