<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlCollisionSound</id>
	<title>LlCollisionSound - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlCollisionSound"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlCollisionSound&amp;action=history"/>
	<updated>2026-10-25T11:50:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.osgrid.org/index.php?title=LlCollisionSound&amp;diff=77&amp;oldid=prev</id>
		<title>Osgridadmin: /* Function: llCollisionSound( string impact_sound, float impact_volume ); */</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlCollisionSound&amp;diff=77&amp;oldid=prev"/>
		<updated>2017-12-30T16:21:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Function: llCollisionSound( string impact_sound, float impact_volume );&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: llCollisionSound( string impact_sound, float impact_volume );==&lt;br /&gt;
Suppress default collision sounds, replace default impact sounds with impact_sound at the volume impact_volume &amp;lt;br&amp;gt;&lt;br /&gt;
• string 	[[impact_sound]] 	– 	a sound in the prim&amp;#039;s inventory or UUID 	&amp;lt;br&amp;gt;&lt;br /&gt;
• float 	[[impact_volume]] 	– 	between 0.0 (silent) and 1.0 (loud) (0.0 &amp;lt;= volume &amp;lt;= 1.0) 	&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If [[impact_sound]] is an empty string then the collision sound is suppressed.&amp;lt;br&amp;gt;&lt;br /&gt;
If [[impact_volume]] is set to zero the collision particles are suppressed.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Caveats&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
• If [[impact_sound]] is missing from the prim&amp;#039;s inventory and it is not a UUID or it is not a sound then an error is shouted on [[DEBUG_CHANNEL]].&lt;br /&gt;
• If [[impact_sound]] is a UUID then there are no new asset permissions consequences for the object.&lt;br /&gt;
-• The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory. &lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
//Play Sound When Collision Occurs With Other Object Or An AGENT&lt;br /&gt;
//Creator: TonyH Wrangler&lt;br /&gt;
 &lt;br /&gt;
string sound = &amp;quot;ed124764-705d-d497-167a-182cd9fa2e6c&amp;quot;; //uuid or name of item in inventory&lt;br /&gt;
 &lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llCollisionSound(sound, 1.0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
See Also &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Events&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[collision_start]] 	&amp;lt;br&amp;gt;		&lt;br /&gt;
•  	[[collision]] 		&amp;lt;br&amp;gt;	&lt;br /&gt;
•  	[[collision_end]] 	&amp;lt;br&amp;gt;		&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Functions&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llCollisionFilter]] 	&amp;lt;br&amp;gt;		&lt;br /&gt;
•  	[[llCollisionSprite]] 	&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>