Skip to content

Instantly share code, notes, and snippets.

@LenweSaralonde
Created January 25, 2022 20:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LenweSaralonde/61199fed53b9462bcd729402e2a3c9ad to your computer and use it in GitHub Desktop.
Save LenweSaralonde/61199fed53b9462bcd729402e2a3c9ad to your computer and use it in GitHub Desktop.
Enable text-to-speech for WoW quest texts
/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