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 


Trainers and forms etc

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Twistedfate
Expert Cheater
Reputation: 1

Joined: 11 Mar 2016
Posts: 231

PostPosted: Sat Aug 27, 2016 2:23 am    Post subject: Trainers and forms etc Reply with quote

I need small help !
*Can you add one form to the uploaded trainer ; I mean page with button say hello then after press on hello show my trainer .

* When I make 2 separated forms I choosed>Table>create form . then created ( UDF1 - UDF2 )
lets say UDF2 is hello
UDF1 is my trainer

Where is the place to but the commands to show UDF2 before UDF1
In Cheat table Lua script or I could generate the .CT file then do it , ?

I really need some one to make hello page for my .CT file to understand
( I am learning Lua but didnot see anything about GuI or buttons yet in lua still studying in Functions part )



My trainer.CT
 Description:

Download
 Filename:  My trainer.CT
 Filesize:  519.22 KB
 Downloaded:  609 Time(s)

Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sat Aug 27, 2016 5:37 am    Post subject: Reply with quote

use

UDF1.show()
UDF2..hide()

or

UDF1.Visible=true
UDF2.Visible=false

put that at the top of script.
To make UDF2 show under a clicking button at UDF1 form,
just add a button click sender there.

Here is a sample

Edit : sample made by CE 6.4



test.CT
 Description:

Download
 Filename:  test.CT
 Filesize:  1.12 KB
 Downloaded:  570 Time(s)

Back to top
View user's profile Send private message
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