Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Make Own LUA

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
MateeJr GT
Advanced Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 66

PostPosted: Mon Jul 23, 2018 2:49 am    Post subject: Make Own LUA Reply with quote

How to make own LUA Script In Trainer
i will make CEEdit1
and i will make button
so
if i click on button it will execute script on CEEdit Text?
Exam :
CEEdit : showMessage("TEST")
clikc Buttton = It will click button, k ty
Idea

_________________
Hi Lynxz Gaming
Back to top
View user's profile Send private message
Lynxz Gaming
Expert Cheater
Reputation: 4

Joined: 01 Jul 2017
Posts: 208
Location: help

PostPosted: Mon Jul 23, 2018 5:54 am    Post subject: Re: Make Own LUA Reply with quote

MateeJr Gaming wrote:
How to make own LUA Script In Trainer
i will make CEEdit1
and i will make button
so
if i click on button it will execute script on CEEdit Text?
Exam :
CEEdit : showMessage("TEST")
clikc Buttton = It will click button, k ty
Idea


Code:

function CEButton1Click(sender)
assert(loadstring(UDF1.CEEdit1.Text)) ()
end

_________________
my english is bad
discord : rynx#9828
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
jgoemat
Master Cheater
Reputation: 23

Joined: 25 Sep 2011
Posts: 264

PostPosted: Tue Jul 24, 2018 7:57 pm    Post subject: Reply with quote

Check out this tutorial: https://wiki.cheatengine.org/index.php?title=Tutorial:LuaFormGUI

You can change to the 'Events' tab in the object inspector (instead of Properties) and double-click in the space for the event you want to handle and it will create the bare function for you in a table script and assign the event handler.
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 51

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Tue Jul 24, 2018 10:30 pm    Post subject: Reply with quote

It also goes over events a bit.
https://wiki.cheatengine.org/index.php?title=Tutorial:LuaFormGUI#Adding_Events

_________________
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites