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

		<summary type="html">&lt;p&gt;createTextForZone – created via PowerShell script (2025-11-11T21:12:55Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          createTextForZone|fDescription=   Creates a text marker for a specified zone with customizable text and colour, positioned relative to the zone&amp;#039;s center. The function retrieves the zone&amp;#039;s position and radius, calculates an offset based on text length, and sets the text appearance using predefined colour schemes. It returns a marker ID if successful, or logs an error if the zone is not found or invalid colour is specified.|parentFile=     cmm.ZoneFunctions.lua|syntax=         CMM.createTextForZone(zoneName &amp;lt;string&amp;gt;, text &amp;lt;string&amp;gt;, zoneId &amp;lt;string&amp;gt;, colour &amp;lt;string&amp;gt;)|return=         number or nil|returnDesc=     Marker ID of the newly created text marker; returns nil if zone not found or invalid colour specified.|example=        CMM.createTextForZone(&amp;quot;Zone15&amp;quot;, &amp;quot;Red Zone&amp;quot;, &amp;quot;Z15&amp;quot;, &amp;quot;red&amp;quot;)|exampleDesc=    Creates a red text marker labeled &amp;quot;Red Zone&amp;quot; for the zone named &amp;quot;Zone15&amp;quot;, positioned offset from the zone center based on text length, and returns the marker ID for reference.|related=        |note=           |envType= CMM|par1=         string zoneName|reqType1=     string|reqName1=     zoneName|desc1=       Name of the zone as defined in the mission editor.|par2=         string text|reqType2=     string|reqName2=     text|desc2=       Text content to display on the zone marker.|par3=         string zoneId|reqType3=     string|reqName3=     zoneId|desc3=       Zone identifier used internally; may be redundant or for future compatibility with Dagi&amp;#039;s system. --TODO Unknown why this is used Ask Dagi|par4=         string colour|reqType4=     string|reqName4=     colour|desc4=       Colour of the text, must be one of &amp;quot;red&amp;quot;, &amp;quot;blue&amp;quot;, &amp;quot;green&amp;quot;, or &amp;quot;black&amp;quot;; defaults to red if unspecified.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>