Difference between revisions of "LlWhisper"

From Second Life Wiki
Jump to navigation Jump to search
 
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.

  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 );
• 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.

All Issues ~ Search JIRA for related Bugs

Examples

<lsl> default {

   state_entry()
   {
       llWhisper(0,"This is an incredibly useless program." );
   }

}

</lsl>

Deep Notes

Search JIRA for related Issues

Signature

function void llWhisper( integer channel, string msg );