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

		<summary type="html">&lt;p&gt;outSoundForUnit – created via PowerShell script (2025-11-11T21:12:38Z)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:FunctionInfo|fName=          outSoundForUnit|fDescription=   Plays a sound for a specified unit, either by unit object or unit ID. Supports both a single sound string or a table of sound strings, selecting randomly if a table is provided. Validates input to ensure the unit is valid and the sound is properly defined.|parentFile=     cmm.soundFunctions.lua|syntax=         CMM.outSoundForUnit(UNIT &amp;lt;table|string&amp;gt;, SOUND &amp;lt;table|string&amp;gt;)|return=         nil|returnDesc=     Returns nothing, plays the sound using trigger.action.outSoundForUnit.|example=        CMM.outSoundForUnit(Unit.getByName(&amp;quot;TEST-1&amp;quot;), CMM.SOUNDS.XPBanked)|exampleDesc=    Plays a sound for the unit named &amp;quot;TEST-1&amp;quot; using the XPBanked sound from CMM.SOUNDS, leveraging unit object validation and sound selection logic.|related=        |note=           |envType= CMM|par1=         table or string UNIT|reqType1=     table or string|reqName1=     UNIT|desc1=       REQUIRED, either a unit object or a unit ID string. If not valid, an error message is logged and no sound is played.|par2=         table or string: SOUND|reqType2=     table or string:|reqName2=     SOUND|desc2=       REQUIRED, either a string path to a sound file or a table of sound file paths. A random entry is selected from the table if provided; otherwise, the string is used directly.}}&lt;/div&gt;</summary>
		<author><name>Ozdeadmeat</name></author>
	</entry>
</feed>