DCS func getUnitTypeAttribute

From DCS World Wiki - Hoggitworld.com
Revision as of 22:53, 22 April 2018 by Grimes (talk | contribs) (Created page with "{{Template:DCS_server_funcs |fName= getUnitTypeAttribute |vNum= 2.5.0 |par1= DCS |par2= |par3= |par4= |desc= Returns the attribute of the sp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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: