<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=DCS_func_getCategoryEx</id>
		<title>DCS func getCategoryEx - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=DCS_func_getCategoryEx"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=DCS_func_getCategoryEx&amp;action=history"/>
		<updated>2026-04-29T19:27:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=DCS_func_getCategoryEx&amp;diff=14606&amp;oldid=prev</id>
		<title>Grimes: Created page with &quot;{{Template:dcs_funcs  |fName= getCategoryEx  |vNum= 2.9.2  |par1= Unit  |par2= Airbase  |par3= Weapon  |par4= D...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=DCS_func_getCategoryEx&amp;diff=14606&amp;oldid=prev"/>
				<updated>2023-12-19T22:54:11Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Template:dcs_funcs  |fName= getCategoryEx  |vNum= 2.9.2  |par1= &lt;a href=&quot;/view/DCS_Class_Unit&quot; title=&quot;DCS Class Unit&quot;&gt;Unit&lt;/a&gt;  |par2= &lt;a href=&quot;/view/DCS_Class_Airbase&quot; title=&quot;DCS Class Airbase&quot;&gt;Airbase&lt;/a&gt;  |par3= &lt;a href=&quot;/view/DCS_Class_Weapon&quot; title=&quot;DCS Class Weapon&quot;&gt;Weapon&lt;/a&gt;  |par4= D...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:dcs_funcs&lt;br /&gt;
&lt;br /&gt;
|fName= getCategoryEx&lt;br /&gt;
&lt;br /&gt;
|vNum= 2.9.2&lt;br /&gt;
&lt;br /&gt;
|par1= [[DCS_Class_Unit|Unit]]&lt;br /&gt;
&lt;br /&gt;
|par2= [[DCS_Class_Airbase|Airbase]]&lt;br /&gt;
&lt;br /&gt;
|par3= [[DCS_Class_Weapon|Weapon]]&lt;br /&gt;
&lt;br /&gt;
|par4= [[DCS_Class_Group|Group]]&lt;br /&gt;
&lt;br /&gt;
|desc= Returns an enumerator of the category for the specific object. The enumerator returned is dependent on the category of the object and how the function is called.  &lt;br /&gt;
&lt;br /&gt;
See enumerators Group.Category, Object.Category, and Spot.Category for further reference. &lt;br /&gt;
&lt;br /&gt;
Function also works with [[DCS_Class_Unit|Unit]], [[DCS_Class_Weapon|Weapon]], [[DCS_Class_Static_Object|Static Object]], [[DCS_Class_Scenery_Object|Scenery Object]], [[DCS_Class_Airbase|Airbase]]. &lt;br /&gt;
&lt;br /&gt;
Unit.getCategoryEx(obj) will return the unit category. &lt;br /&gt;
&lt;br /&gt;
obj:getCategoryEx() will return the unit category. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|rtnType= enum&lt;br /&gt;
&lt;br /&gt;
|rtnExample= number&lt;br /&gt;
&lt;br /&gt;
|reqType1= Class&lt;br /&gt;
&lt;br /&gt;
|reqName1= Self&lt;br /&gt;
&lt;br /&gt;
|reqType2=&lt;br /&gt;
&lt;br /&gt;
|reqName2=&lt;br /&gt;
&lt;br /&gt;
|optType1=&lt;br /&gt;
&lt;br /&gt;
|optType2=&lt;br /&gt;
&lt;br /&gt;
|related= &lt;br /&gt;
[[DCS_Class_Object|'''Object Functions:''']] {{listofScriptingObjectFuncs}}&lt;br /&gt;
&lt;br /&gt;
[[DCS_Class_Group|'''Group Functions:''']] {{listOfScriptingGroupFuncs}}&lt;br /&gt;
&lt;br /&gt;
[[DCS_Class_Spot|'''Spot Functions:''']] {{listofScriptingSpotFuncs}}&lt;br /&gt;
&lt;br /&gt;
|examples= The following is run on a ship unit named CVN75.&lt;br /&gt;
&lt;br /&gt;
   local unit = Unit.getByName(&amp;quot;CVN75&amp;quot;)&lt;br /&gt;
   env.info(unit:getCategoryEx() -&amp;gt; 3  (unit category for a ship)&lt;br /&gt;
   env.info(Airbase.getCategoryEx(unit) -&amp;gt; 2 (airbase category for a ship)&lt;br /&gt;
&lt;br /&gt;
|notes= Function exists group Group and Spot classes, I have no idea why. &lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Class Functions|getCategoryEx]]&lt;br /&gt;
[[Category:Game Patch 2.9.2|getCategoryEx]]&lt;/div&gt;</summary>
		<author><name>Grimes</name></author>	</entry>

	</feed>