Posted: Mon Oct 23, 2017 3:48 pm Post subject: How do you run LUA interactively and/or load scripts?
Get ready, this question has probably been asked before, but I'm having trouble finding the answer.
Where do you go in Cheat Engine to run LUA scripts?
I opened the Memory Viewer, then went Tools > Lua Engine. However, when I enter "getCEVersion()" the output is just "getCEVersion()" again. I get errors when I type in things that aren't commands, but I similarly get no output when I type in other things that do appear to be commands.
You have to explicitly print stuff you want to print.
Code:
print(getCEVersion())
If you don't want the Lua engine to also print the code you're executing, deselect "View -> Show script in output".
In the main window, you can go to "Table -> Show Cheat Table Lua Script" to open up a bigger script window. The code put in there is saved when you save a cheat table. _________________
I don't know where I'm going, but I'll figure it out when I get there.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum