Difference between revisions of "LlWhisper"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m (LSL llWhisper moved to LlWhisper: removing prefix) |
|||
Line 9: | Line 9: | ||
|p2_type=string | |p2_type=string | ||
|p2_name=msg | |p2_name=msg | ||
|func_desc=whispers the text supplied in string ''msg'' on channel supplied in integer ''channel''. | |func_desc=whispers the text supplied in string '''msg''' on channel supplied in integer '''channel'''. | ||
|return_text | |return_text | ||
|spec | |spec | ||
|caveats=Text can only be a maximum of 1024 bytes. Whispers can only be heard within 10 meters of the speaking object. An object can '''not''' hear itself, to prevent problems with recursion. | |caveats=Text can only be a maximum of 1024 bytes. Whispers can only be heard within 10 meters of the speaking object. An object can '''not''' hear itself, to prevent problems with recursion. | ||
|examples=< | |examples=<pre> | ||
default { | default { | ||
state_entry() | state_entry() | ||
Line 20: | Line 20: | ||
} | } | ||
} | } | ||
</ | </pre> | ||
|helpers | |helpers | ||
|also_events=*{{LSLG|listen}} | |also_events=*{{LSLG|listen}} |
Revision as of 23:56, 20 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llWhisper( integer channel, string msg );22 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
whispers the text supplied in string msg on channel supplied in integer channel.
• integer | channel | |||
• string | msg |
Caveats
Text can only be a maximum of 1024 bytes. Whispers can only be heard within 10 meters of the speaking object. An object can not hear itself, to prevent problems with recursion.
Examples
default { state_entry() { llWhisper(0,"This is an incredibly useless program." ); } }