Difference between revisions of "Lua:speakEnglish"

From Cheat Engine
Jump to navigation Jump to search
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
 
(2 intermediate revisions by 2 users not shown)
Line 33: Line 33:
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[speak]]
+
* [[Lua:speak|speak]]

Latest revision as of 19:07, 18 March 2019

function speakEnglish(text, waittilldone OPTIONAL)


Will try the English voice by wrapping the given text into an XML statement specifying the English voice. It'll not say anything, if no English language is present on your computer.

Function Parameters[edit]

Parameter Type Description
text String Text that should be spoken.
waittilldone Boolean If true, the next LUA instruction will not execute until the text is spoken.

Samples[edit]

Without waittilldone:

speakEnglish("Hello World")

With waittilldone:

speakEnglish("Say hello", true)
showMessage("to my little friend")

See also[edit]

Related Functions[edit]