llSpeakText

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