<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=SpawnGroundUnit</id>
	<title>SpawnGroundUnit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=SpawnGroundUnit"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=SpawnGroundUnit&amp;action=history"/>
	<updated>2026-06-04T14:16:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://cmm.ozdeadmeat.com/index.php?title=SpawnGroundUnit&amp;diff=6011&amp;oldid=prev</id>
		<title>Ozdeadmeat: SpawnGroundUnit – created via PowerShell script (2025-11-11T21:12:42Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=SpawnGroundUnit&amp;diff=6011&amp;oldid=prev"/>
		<updated>2025-11-11T10:12:43Z</updated>

		<summary type="html">&lt;p&gt;SpawnGroundUnit – created via PowerShell script (2025-11-11T21:12:42Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          SpawnGroundUnit|fDescription=   Spawns a ground unit at a specified location with optional heading, visibility, and debug markers. The function assigns the unit to a group, sets its country, visibility, and heading, and configures AI behavior such as dispersion and alarm state.|parentFile=     cmm.spawnFunctions.lua|syntax=         CMM.SpawnGroundUnit(GroupName &amp;lt;string&amp;gt;, UnitType &amp;lt;string&amp;gt;, Country &amp;lt;number&amp;gt;, SpawnPoint &amp;lt;TBL&amp;gt;, Heading &amp;lt;nil|number&amp;gt;, Hidden &amp;lt;nil|boolean&amp;gt;, Debug &amp;lt;nil|boolean&amp;gt;)|return=         nil|returnDesc=     Returns nothing, as the function performs spawning and does not return a value.|example=        CMM.SpawnGroundUnit(&amp;quot;BLUFOR_T72_Group&amp;quot;, &amp;quot;T-72&amp;quot;, 1, {x=1000, y=2000}, 90, true, false)|exampleDesc=    Spawns a T-72 unit in BLUFOR under the group name &amp;quot;BLUFOR_T72_Group&amp;quot; at coordinates (1000, 2000) facing 90 degrees, hidden from view, without debug markers.|related=        |note=           |envType= CMM|par1=         string GroupName|reqType1=     string|reqName1=     GroupName|desc1=       Name of the group to assign the unit to, used as the unit&amp;#039;s identifier in the mission.|par2=         string UnitType|reqType2=     string|reqName2=     UnitType|desc2=       Type of the unit to spawn, such as &amp;quot;T-72&amp;quot; or &amp;quot;BTR-80&amp;quot;, defined in the mission editor.|par3=         number Country|reqType3=     number|reqName3=     Country|desc3=       DCS Country ID number, used to assign the unit to a specific faction.|par4=         table SpawnPoint|reqType4=     table|reqName4=     SpawnPoint|desc4=       Table containing X and Y coordinates for the spawn location; Z is optional and defaults to 0 if not provided.|par5=         nil or number Heading|reqType5=     nil or number|reqName5=     Heading|desc5=       Optional value for the unit&amp;#039;s initial heading; defaults to a random value between 0 and 359 if not specified.|par6=         nil or boolean Hidden|reqType6=     nil or boolean|reqName6=     Hidden|desc6=       Optional flag to hide the unit upon spawn; defaults to false if not specified.|par7=         nil or boolean Debug|reqType7=     nil or boolean|reqName7=     Debug|desc7=       Optional flag to create a debug marker at spawn location for visibility; defaults to false if not specified.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>