Unofficial LSL Reference

[[functions:llpreloadsound]]


Unofficial LSL reference

User Tools

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

Forgotten your password? Get a new one: Set new password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

functions:llpreloadsound [2015-06-27 19:01 SLT]
sei simplify
functions:llpreloadsound [2015-06-28 11:12 SLT] (current)
sei remove plural
Line 6: Line 6:
 </​code>​ </​code>​
  
-Preloads ​a $lart[sound]. The idea of preloading a sound is to transmit the sound in advance, so that when the time to play it comes, it is already cached by the surrounding avatars'​ viewers, and plays without delay.+Preload ​a $lart[sound]. The idea of preloading a sound is to transmit the sound in advance, so that when the time to play it comes, it is already cached by the surrounding avatars'​ viewers, and plays without delay.
  
 $delay[1.0] $delay[1.0]
Line 17: Line 17:
 ===== Notes ===== ===== Notes =====
  
-  * If used in a HUD, the preload is only effective for the owner.+  * If used in a $lart[HUD], the preload is only effective for the owner.
   * Sounds are usually deleted from the cache when relogging.   * Sounds are usually deleted from the cache when relogging.
   * If the sound is a $lart[UUID],​ it doesn'​t need to be present in the prim.   * If the sound is a $lart[UUID],​ it doesn'​t need to be present in the prim.