Difference between revisions of "LlWhisper"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSLFunctionAll
{{LSL_Function
|func_id=22
|func_id=22
|func_sleep=0.0
|func_sleep=0.0
|func_energy=10.0
|func_energy=10.0
|func=llWhisper
|func=llWhisper
|sort=Whisper
|p1_type=integer
|p1_type=integer
|p1_name=channel
|p1_name=channel
|p2_type=string
|p2_type=string
|p2_name=msg
|p2_name=msg
|func_footnote=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
Line 21: Line 22:
</lsl>
</lsl>
|helpers
|helpers
|related={{LSLG|llSay}}<br/>{{LSLG|llOwnerSay}}<br/>{{LSLG|llShout}}<br/>{{LSLG|llInstanMessage}}
|also_functions=*{{LSLG|llSay}}
*{{LSLG|llOwnerSay}}
*{{LSLG|llShout}}
*{{LSLG|llInstanMessage}}
|also
|also
|notes
|notes
}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
}}[[Category:LSL_Functions]][[Category:LSL_Stub]]

Revision as of 11:46, 28 January 2007

Summary

Function: llWhisper( integer channel, string msg );
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

<lsl> default {

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

}

</lsl>

Deep Notes

Signature

function void llWhisper( integer channel, string msg );