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 


Freezing Addresses in a trainer via checkbox

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

Joined: 09 Jun 2015
Posts: 77

PostPosted: Tue Jul 12, 2016 7:00 pm    Post subject: Freezing Addresses in a trainer via checkbox Reply with quote

Alright guys, could you help me this with? I want a checkbox that whenver it is ticked, will freeze an address. When it is unchecked, I want said address to be unfrozen. How would I go about doing this?
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Tue Jul 12, 2016 7:02 pm    Post subject: Reply with quote

On checkbox toggle, if checkbox is active perform
Enable Timer, with address, to read the address once, then repeatedly set the address with original value


OR

Add a addres to table, set it to frozen on activate
Back to top
View user's profile Send private message
Reclaimer Shawn
Advanced Cheater
Reputation: 0

Joined: 09 Jun 2015
Posts: 77

PostPosted: Tue Jul 12, 2016 7:15 pm    Post subject: Reply with quote

cooleko wrote:
On checkbox toggle, if checkbox is active perform
Enable Timer, with address, to read the address once, then repeatedly set the address with original value


OR

Add a addres to table, set it to frozen on activate


Alright, what would I need to type in for my LUA Code? Sorry, I;m very new when it comes to LUA.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Tue Jul 12, 2016 8:55 pm    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?p=5675159#5675159
_________________
I don't know where I'm going, but I'll figure it out when I get there.
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