Difference between revisions of "LlWhisper"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{LSLFunctionAll|func_id=22|func_sleep=0.0|func_energy=10.0|func=llWhisper|p1_type=integer|p1_name=channel|p2_type=string|p2_name=msg|func_footnote=whispers msg on channel}}[[Category:LSL_Functions]][[Category:LSL_Stub]] | {{LSLFunctionAll | ||
|func_id=22 | |||
|func_sleep=0.0 | |||
|func_energy=10.0 | |||
|func=llWhisper | |||
|p1_type=integer | |||
|p1_name=channel | |||
|p2_type=string | |||
|p2_name=msg | |||
|func_footnote=whispers the text supplied in string ''msg'' on channel supplied in integer ''channel''. | |||
|return_text | |||
|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. | |||
|examples=<lsl> | |||
default { | |||
state_entry() | |||
{ | |||
llWhisper(0,"This is an incredibly useless program." ); | |||
} | |||
} | |||
</lsl> | |||
|helpers | |||
|related={{LSLG|llSay}}<br/>{{LSLG|llOwnerSay}}<br/>{{LSLG|llShout}}<br/>{{LSLG|llInstanMessage}} | |||
|also | |||
|notes | |||
}}[[Category:LSL_Functions]][[Category:LSL_Stub]] |
Revision as of 13:37, 26 January 2007
Outdated templated used
Please change the template from 'LSLFunctionAll' to 'LSL_Function' (just replace 'LSLFunctionAll' with 'LSL_Function', do this after fixing any other erorr messages.
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Either 'func_desc' or 'return_type' & 'return_text' must be defined
(Please use 'return_text' & 'return_type' or 'func_desc' to summarize the functions actions.)
Summary
Function: llWhisper( integer channel, string msg );22 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
• integer | channel | |||
• string | msg |
whispers the text supplied in string msg on channel supplied in integer channel.
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
<lsl> default {
state_entry() { llWhisper(0,"This is an incredibly useless program." ); }
}
</lsl>