proper import
git-svn-id: https://lsleditor.svn.sourceforge.net/svnroot/lsleditor@9 3f4676ac-adda-40fd-8265-58d1435b1672
This commit is contained in:
parent
66730fd649
commit
3151e1e342
454 changed files with 57577 additions and 0 deletions
14
trunk/bin/Debug/Plugins/snippets/llPlaySound.xml
Normal file
14
trunk/bin/Debug/Plugins/snippets/llPlaySound.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue