DCS func getUnitTypeAttribute

From DCS World Wiki - Hoggitworld.com


Envrioment: Server
Function: getUnitTypeAttribute Added with: 2.5.0
Member Of: DCS
Syntax: string, number, table DCS.getUnitTypeAttribute(string typeName, string attribute )
Description: Returns the attribute of the specified type for the specified unit type.


Return Value: string, number, table
Return Example:
Examples: DCS.getUnitTypeAttribute("Ural", "DisplayName")
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: