<?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=SpawnGroundUnitInZone</id>
	<title>SpawnGroundUnitInZone - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmm.ozdeadmeat.com/index.php?action=history&amp;feed=atom&amp;title=SpawnGroundUnitInZone"/>
	<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=SpawnGroundUnitInZone&amp;action=history"/>
	<updated>2026-06-04T12:38:20Z</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=SpawnGroundUnitInZone&amp;diff=6013&amp;oldid=prev</id>
		<title>Ozdeadmeat: SpawnGroundUnitInZone – created via PowerShell script (2025-11-11T21:12:42Z)</title>
		<link rel="alternate" type="text/html" href="https://cmm.ozdeadmeat.com/index.php?title=SpawnGroundUnitInZone&amp;diff=6013&amp;oldid=prev"/>
		<updated>2025-11-11T10:12:44Z</updated>

		<summary type="html">&lt;p&gt;SpawnGroundUnitInZone – 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=          SpawnGroundUnitInZone|fDescription=   Spawns ground units in a specified zone based on a unit type table, with optional road-based spawning and a limit on total units. It checks for existing units, calculates how many more units are needed, and spawns new units at valid positions within the zone.|parentFile=     cmm.spawnFunctions.lua|syntax=         CMM.SpawnGroundUnitInZone(ZoneName &amp;lt;string&amp;gt;, Country &amp;lt;number&amp;gt;, UnitTypeTable &amp;lt;TBL&amp;gt;, UnitLimit &amp;lt;number&amp;gt;, ForceRoad &amp;lt;nil|boolean&amp;gt;)|return=         nil|returnDesc=     Returns nothing, as the function performs spawning and does not return a value.|example=        CMM.SpawnGroundUnitInZone(&amp;quot;DebrisArea&amp;quot;, 1, {&amp;quot;T-72&amp;quot;, &amp;quot;BTR-80&amp;quot;}, 100, true)|exampleDesc=    Spawns up to 100 units in the &amp;quot;DebrisArea&amp;quot; zone, using a mix of T-72 and BTR-80 units, with all spawns forced to occur on roads.|related=        |note=           |envType= CMM|par1=         string ZoneName|reqType1=     string|reqName1=     ZoneName|desc1=       Name of the zone where units should be spawned, must exist in the mission editor.|par2=         number Country|reqType2=     number|reqName2=     Country|desc2=       ID of the country to assign to the spawned units.|par3=         table UnitTypeTable|reqType3=     table|reqName3=     UnitTypeTable|desc3=       Table containing unit types to randomly select from during spawning.|par4=         number UnitLimit|reqType4=     number|reqName4=     UnitLimit|desc4=       Maximum number of units allowed in the zone; if exceeded, no additional units are spawned.|par5=         nil or boolean ForceRoad|reqType5=     nil or boolean|reqName5=     ForceRoad|desc5=       Optional parameter to force unit spawns on roads within the zone; defaults to false.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>