Unofficial LSL Reference

[[functions:llsay]]


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:llsay [2015-02-04 17:34 SLT]
sei style
functions:llsay [2016-11-12 15:33 SLT] (current)
sei Add note
Line 19: Line 19:
   * Text said via llSay can be heard up to 20 metres away from the prim the script is in.   * Text said via llSay can be heard up to 20 metres away from the prim the script is in.
   * Messages sent on channel 0 or on $lct[DEBUG_CHANNEL],​ are throttled to a rate of about 200 every 10 seconds, per region, per owner/user.   * Messages sent on channel 0 or on $lct[DEBUG_CHANNEL],​ are throttled to a rate of about 200 every 10 seconds, per region, per owner/user.
-  * **message** can be a maximum of 1024 bytes when translated to [[http://​en.wikipedia.org/​wiki/​UTF-8|UTF-8]]. The allowed number of characters can vary depending on what characters the message contains. For example, it allows:+  * $prm[messagecan be a maximum of 1024 bytes when translated to [[http://​en.wikipedia.org/​wiki/​UTF-8|UTF-8]]. The allowed number of characters can vary depending on what characters the message contains. For example, it allows:
       * up to 1024 UTF-8 characters in the ASCII range such as A or %,       * up to 1024 UTF-8 characters in the ASCII range such as A or %,
       * up to 512 two-byte UTF-8 characters such as И or £,       * up to 512 two-byte UTF-8 characters such as И or £,
Line 26: Line 26:
   * Negative channels are typically used for inter-object communication.   * Negative channels are typically used for inter-object communication.
   * A script cannot hear anything said by any script within the same prim. This avoids recursion problems. It can hear text sent from a script in another prim within the same object, if it's within range.   * A script cannot hear anything said by any script within the same prim. This avoids recursion problems. It can hear text sent from a script in another prim within the same object, if it's within range.
 +  * Attached objects in avatars can't be heard by other avatars if the avatars can't see nor hear each other due to parcel privacy settings. They still can be heard by other objects, though.
  
 ===== Short examples ===== ===== Short examples =====