DCS func getDescByName: Difference between revisions
From DCS World Wiki - Hoggitworld.com
m 1 revision imported |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Template: | {{Template:dcs_funcs_multiclass | ||
|fName= getDescByName | |fName= getDescByName | ||
|vNum= 1.2. | |vNum= 1.2.4 | ||
|par1= [[ | |par1= [[DCS_Class_Unit|Unit]] | ||
|par2= | |par2= [[DCS_Class_Static_Object|StaticObject]] | ||
|par3= | |par3= [[DCS_Class_Airbase|Airbase]] | ||
|par4= | |par4= [[DCS_Class_Scenery_Object|SceneryObject]] | ||
|par5= | |||
|par6= | |||
|par7= | |||
|desc= Return a description table of the specified Object type. Object does not need to be in the mission in order to query its data. | |desc= Return a description table of the specified Object type. Object does not need to be in the mission in order to query its data. | ||
Function | Function works with [[DCS_Class_Unit|Unit]], [[DCS_Class_Static_Object|Static Object]], [[DCS_Class_Scenery_Object|Scenery Object]], [[DCS_Class_Airbase|Airbase]] | ||
|rtnType= table | |rtnType= table | ||
| Line 77: | Line 80: | ||
|related= | |related= | ||
[[ | [[DCS_Class_Unit|'''Unit Functions:''']] {{listOfScriptingUnitFuncs}} | ||
[[DCS_Class_Unit|'''StaticObject Functions:''']] {{listofScriptingStaticFuncs}} | |||
[[DCS_Class_Unit|'''Airbase Functions:''']] {{listOfScriptingAirbaseFuncs}} | |||
|examples= local a10CDataTable = Unit.getDescByName('A-10C') | |examples= local a10CDataTable = Unit.getDescByName('A-10C') | ||
| Line 87: | Line 94: | ||
}} | }} | ||
[[Category:Class Functions|getDescByName]] | [[Category:Class Functions|getDescByName]] | ||
[[Category:Game Patch 1.2.4|getDescByName]] | |||
