Difference between revisions of "LlSpeakText"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSL_Function|func_id|func_sleep=0.1|func_energy=10.0
{{LSL_Function|func_id|func_sleep=0.1|func_energy=10.0
|func=llSpeakText|sort=SpeakText
|func=llSpeakText|sort=SpeakText
|p1_type=list|p1_name=targets
|p1_type=list|p1_name=targets|p1_desc
|p2_type=integer|p2_name=voice
|p2_type=integer|p2_name=voice|p2_desc=VOICE_* flag
|p3_type=string|p3_name=message
|p3_type=string|p3_name=message|p3_desc=Text to speak
|func_desc=uses a text to speak algorithm to speak the text '''message''' to the list of avatars/objects specified in '''targets''' (either by name or by UUID) using the voice specified in '''voice'''.  
|func_desc=uses a text to speak algorithm to speak the text '''message''' to the list of avatars/objects specified in '''targets''' (either by name or by UUID) using the voice specified in '''voice'''.  
If '''target_avatars''' is empty it talks to all avatars in range.
If '''target_avatars''' is empty it talks to all avatars in range.

Latest revision as of 10:37, 3 April 2007

Emblem-important-yellow.png LSL Feature Request
The described function does not exist. This article is a feature request.

Summary

Function: llSpeakText( list targets, integer voice, string message );
0.1 Forced Delay
10.0 Energy

uses a text to speak algorithm to speak the text message to the list of avatars/objects specified in targets (either by name or by UUID) using the voice specified in voice. If target_avatars is empty it talks to all avatars in range. Possible values for voice include:

  • VOICE_MALE_DEFAULT
  • VOICE_FEMALE_DEFAULT
  • VOICE_MALE_CHILD
  • VOICE_FEMALE_CHILD
  • VOICE_MALE_YOUNG
  • VOICE_FEMALE_YOUNG
  • VOICE_MALE_OLD
  • VOICE_FEMALE_OLD
  • VOICE_MALE_ROBOTIC
  • VOICE_FEMALE_ROBOTIC
  • VOICE_MALE_ELECTRONIC
  • VOICE_FEMALE_ELECTRONIC
  • VOICE_MALE_MECHANOID
  • VOICE_FEMALE_MECHANOID
  • VOICE_MALE_FURRY
  • VOICE_FEMALE_FURRY
• list targets
• integer voice VOICE_* flag
• string message Text to speak

Caveats

  • This function causes the script to sleep for 0.1 seconds.

Examples

Notes

Essential for voice enabled objects to continue to exist if voice is introduced into SL.

Deep Notes

Signature

//function void llSpeakText( list targets, integer voice, string message );