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

		<summary type="html">&lt;p&gt;Clean – created via PowerShell script (2025-11-11T21:12:20Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          Clean|fDescription=   Removes all junk units and objects (e.g., debris, temporary spawns, destroyed units) within a spherical volume defined by a position and radius.|parentFile=     cmm.MapCommandFunctions.lua|syntax=         CMM.Clean(coord &amp;lt;vec3&amp;gt;, radius &amp;lt;number&amp;gt;)|return=         number|returnDesc=     Returns the number of units successfully removed (e.g., 10 units cleaned)|example=        CMM.Clean({x=1000,y=0,z=0}, 500)|exampleDesc=    Creates a spherical volume centered at the provided coordinates with the given radius and removes all &amp;quot;junk&amp;quot; units (such as temporary or unowned units) within that volume. The cleanup is performed using the world.removeJunk() function. Returns the count of removed units. Useful for clearing clutter in mission environments.|related=        |note=           This function is typically called by CMM.MarkerClean when a player uses a !clean:&amp;lt;radius&amp;gt; command. The radius is capped by CMM.clean.size to prevent excessive cleanup.|envType= CMM|par1=         table coord|reqType1=     table|reqName1=     coord|desc1=       The center point (x, y, z) of the sphere where cleanup will occur|par2=         number radius|reqType2=     number|reqName2=     radius|desc2=       The radius in meters of the sphere; defines how far to clean from the center}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>