Wowpedia
Advertisement
Wowpedia
240,451
pages
Game Flavors
Links
Patch
Added in 9.1.0 / 2.5.2

Needs summary.

C_VoiceChat.SpeakText(voiceID, text, destination, rate, volume)

Arguments

voiceID 
number - Voice IDs from .GetTtsVoices() or .GetRemoteTtsVoices()
text 
string - The message to speak.
destination 
Enum.VoiceTtsDestination
Value Key Description
0 RemoteTransmission
1 LocalPlayback
2 RemoteTransmissionWithLocalPlayback
3 QueuedRemoteTransmission
4 QueuedLocalPlayback
5 QueuedRemoteTransmissionWithLocalPlayback
6 ScreenReader
rate 
number - Speech rate; the speed at which the text is read.
volume 
number : [0-100]

Example

Speaks a message with Microsoft David (enUS).

/run C_VoiceChat.SpeakText(0, "Hello world", Enum.VoiceTtsDestination.LocalPlayback, 0, 100)

Speaks a message with Microsoft Zira (enUS), with a slower speech rate.

/run C_VoiceChat.SpeakText(1, "Hello world", Enum.VoiceTtsDestination.LocalPlayback, -10, 100)

Patch changes


Advertisement