Created
January 25, 2022 20:32
-
-
Save LenweSaralonde/61199fed53b9462bcd729402e2a3c9ad to your computer and use it in GitHub Desktop.
Enable text-to-speech for WoW quest texts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/run for _, f in pairs({QuestInfoDescriptionText, GreetingText, GossipGreetingText}) do hooksecurefunc(f, "SetText", function(self, text) C_VoiceChat.StopSpeakingText(); C_VoiceChat.SpeakText(0, text or "", 1, 1.5, 100) end) end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment