Difference between revisions of "LlPreloadSound"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function/inventory|name|uuid=true|type=sound}}
{{LSL_Function
{{LSL_Function
|func_id=93|func_sleep=1.0|func_energy=10.0
|func_id=93|func_sleep=1.0|func_energy=10.0
|func=llPreloadSound
|func=llPreloadSound
|p1_type=string|p1_name=sound|p1_desc=inventory item or [[UUID]]
|p1_type=string|p1_name=sound
|inventory=sound
|func_footnote
|func_footnote
|func_desc=Preloads a sound on viewers within range
|func_desc=Preloads a sound on viewers within range
Line 17: Line 17:
|also_articles
|also_articles
|notes
|notes
|permission
|negative_index
|sort=PreloadSound
|sort=PreloadSound
|cat1=Sound
|cat1=Sound

Revision as of 22:59, 22 February 2007

Summary

Function: llPreloadSound( string sound );

Preloads a sound on viewers within range

• string sound

Caveats

  • This function causes the script to sleep for 1.0 seconds.
  • If name is missing from the prim's inventory and it is not a UUID or it is not a sound then an error is shouted on DEBUG_CHANNEL.
  • If name is a UUID then there are no new asset permissions consequences for the object.
    • The resulting object develops no new usage restrictions that might have occurred if the asset had been placed in the prims inventory.
All Issues ~ Search JIRA for related Bugs

Examples

Deep Notes

Search JIRA for related Issues

Signature

function void llPreloadSound( string sound );