Lua:speakEnglish

From Cheat Engine
Revision as of 13:07, 19 June 2017 by Igromanru (talk | contribs) (Created page with 'Category:Lua '''function''' speakEnglish(''text'', ''waittilldone'' OPTIONAL) Will try the English voice by wrapping the given text into an XML statement specifying the En…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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

Without waittilldone:

speakEnglish("Hello World")

With waittilldone:

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

See also

Related Functions