Difference between revisions of "LlSound"

From Second Life Wiki
Jump to navigation Jump to search
Line 3: Line 3:
|func=llSound
|func=llSound
|p1_type=string|p1_name=sound|p1_desc=inventory name or [[UUID]]
|p1_type=string|p1_name=sound|p1_desc=inventory name or [[UUID]]
|p2_type=float|p2_name=volume|p2_desc=between 0.0 (silent) and 1.0 (loud) (0.0 <= '''volume''' <= 1.0)
|p2_type=float|p2_name=volume|p2_desc=between 0.0 (silent) and 1.0 (loud) (0.0 &lt;&#61; '''volume''' &lt;&#61; 1.0)
|inventory=sound
|inventory=sound
|p3_type=integer|p3_name=queue|p3_desc=boolean, weather or not to queue the song ({{LSLG|TRUE}}) or interrupt the playing song ({{LSLG|FALSE}}).
|p3_type=integer|p3_name=queue|p3_desc=boolean, weather or not to queue the song ({{LSLG|TRUE}}) or interrupt the playing song ({{LSLG|FALSE}}).
Line 26: Line 26:
|cat2
|cat2
|cat3
|cat3
|cat4=Stub
|cat4
}}
}}

Revision as of 15:57, 20 February 2007

Emblem-important.png Deprecated
(This function has been deprecated, please use llPlaySound instead.)

Summary

Function: llSound( string sound, float volume, integer queue, integer loop );

Plays sound at volume and whether it should loop or not.

• string sound inventory name or UUID
• float volume between 0.0 (silent) and 1.0 (loud) (0.0 <= volume <= 1.0)
• integer queue boolean, weather or not to queue the song (TRUE) or interrupt the playing song (FALSE).
• integer loop boolean, weather or not to loop the song.

Caveats

  • This function has been deprecated, please use llPlaySound instead.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function void llSound( string sound, float volume, integer queue, integer loop );