Difference between revisions of "LlSpeakText"

From Second Life Wiki
Jump to: navigation, 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=target_avatars
+
|p1_type=list|p1_name=targets
 
|p2_type=integer|p2_name=voice
 
|p2_type=integer|p2_name=voice
 
|p3_type=string|p3_name=message
 
|p3_type=string|p3_name=message
|func_desc=uses a text to speak algorithm to speak the text '''message''' to the list of avatars specified in '''target_avatars''' 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.
 
Possible values for '''voice''' include:
 
Possible values for '''voice''' include:

Revision as of 02:15, 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 );
REQUEST Function ID
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
• string message

Caveats

  • This function causes the script to sleep for 0.1 seconds.
All Issues ~ Search JIRA for related Bugs

Examples

Notes

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

Deep Notes

Search JIRA for related Issues

Signature

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