LSLEditor/trunk/bin/Debug/Plugins/snippets/llPlaySound.xml
dimentox 3151e1e342 proper import
git-svn-id: https://lsleditor.svn.sourceforge.net/svnroot/lsleditor@9 3f4676ac-adda-40fd-8265-58d1435b1672
2010-04-29 07:47:27 +00:00

14 lines
No EOL
456 B
XML

<LSLSnippets xmlns="http://joeswammi.com/sl/se/LSLSnippet">
<CodeSnippet Format="1.0.0" Title="llPlaySound">
<Snippet InsertToEvent="touch_start">
<![CDATA[PlaySound("my_soundwav", 1);]]>
</Snippet>
<Snippet InsertToEvent="lslstart">
<![CDATA[PlaySound(string sound, float volume)
{
if(llGetInventoryType(sound) == INVENTORY_SOUND)
llPlaySound(sound, volume);
}]]>
</Snippet>
</CodeSnippet>
</LSLSnippets>