Difference between revisions of "LlSay"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{LSLFunctionAll|func_id=23|func_sleep=0.0|func_energy=10.0|func=llSay|p1_type=integer|p1_name=channel|p2_type=string|p2_name=msg|func_footnote= | {{LSLFunctionAll | ||
|func_id=23 | |||
|func_sleep=0.0 | |||
|func_energy=10.0 | |||
|func=llSay | |||
|p1_type=integer | |||
|p1_name=channel | |||
|p2_type=string | |||
|p2_name=msg | |||
|func_footnote=Says 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. Phrases spoken with llSay can only be heard within 20 meters of the speaking object. An object can '''not''' hear itself, to prevent problems with recursion. | |||
|examples=<lsl> | |||
default { | |||
state_entry() | |||
{ | |||
llSay(0,"This is an incredibly useless program." ); | |||
} | |||
} | |||
</lsl> | |||
|helpers | |||
|related={{LSLG|llWhisper}}<br/>{{LSLG|llOwnerSay}}<br/>{{LSLG|llShout}}<br/>{{LSLG|llInstanMessage}} | |||
|also | |||
|notes | |||
}}[[Category:LSL_Functions]][[Category:LSL_Stub]] |
Revision as of 13:40, 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: llSay( integer channel, string msg );23 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
• integer | channel | |||
• string | msg |
Says the text supplied in string msg on channel supplied in integer channel.
Caveats
Text can only be a maximum of 1024 bytes. Phrases spoken with llSay can only be heard within 20 meters of the speaking object. An object can not hear itself, to prevent problems with recursion.
Examples
<lsl> default {
state_entry() { llSay(0,"This is an incredibly useless program." ); }
}
</lsl>