From Cheat Engine
Revision as of 08:15, 19 June 2017 by Igromanru (talk | contribs) (Samples)
Jump to navigation Jump to search

function speak(text, waittilldone OPTIONAL)

function speak(text, flags)

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.
flags Bit-field


Simple text to speech:

speak("Say hello to my little friend.")

Read text from a file text.txt from the same directory as the table:

speak(TrainerOrigin.."test.txt", SPF_IS_FILENAME)

See also

Related Functions