Difference between revisions of "LlSound"

From Second Life Wiki
Jump to navigation Jump to search
m
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=value between 0 (silent) and 1 (loud).
|p2_type=float|p2_name=volume|p2_desc=between 0.0 (silent) and 1.0 (loud) (0.0 <= '''volume''' <= 1.0)
|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}}).
|p4_type=integer|p4_name=loop|p4_desc=boolean, weather or not to loop the song.
|p4_type=integer|p4_name=loop|p4_desc=boolean, weather or not to loop the song.

Revision as of 22:11, 9 February 2007

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

Summary

Function: llSound( string sound, float <span title="between 0.0 (silent) and 1.0 (loud) (0.0 <= volume <= 1.0)" style="border-bottom:1px dotted; cursor:help;">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 );