Difference between revisions of "DCS func getByName"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
Line 1: | Line 1: | ||
− | {{Template: | + | {{Template:dcs_funcs_multiclass |
|fName= getByName | |fName= getByName | ||
Line 11: | Line 11: | ||
|par3= [[DCS_Class_Static_Object|Static Object]] | |par3= [[DCS_Class_Static_Object|Static Object]] | ||
− | |par4= | + | |par4= [[DCS_Class_Warehouse|Warehouse]] |
+ | |||
+ | |par5= [[DCS_Class_Airbase|Airbase]] | ||
+ | |||
+ | |par6= | ||
|desc= Returns an instance of the calling class for the object of a specified name. The objects name is defined either in the mission editor or within functions that can dynamically spawn objects. All static objects and unit names must be unique. However groups may have the same name as a unit or static object. This function can provide access to non activated units and groups. | |desc= Returns an instance of the calling class for the object of a specified name. The objects name is defined either in the mission editor or within functions that can dynamically spawn objects. All static objects and unit names must be unique. However groups may have the same name as a unit or static object. This function can provide access to non activated units and groups. |