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 


Assign value from one address to another

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
DusklyRefrain
How do I cheat?
Reputation: 0

Joined: 15 Oct 2017
Posts: 1

PostPosted: Sun Oct 15, 2017 9:48 am    Post subject: Assign value from one address to another Reply with quote

So I'm completely new to CE and I'm wondering how I can assign the value of one address to another one that I found using a pointer using a Shift+Q hotkey
Back to top
View user's profile Send private message
ParkourPenguin
Grandmaster Cheater Supreme
Reputation: 54

Joined: 06 Jul 2014
Posts: 1814
Location: Arcadian Suburbia

PostPosted: Sun Oct 15, 2017 10:30 am    Post subject: Reply with quote

Code:
createHotkey(function() writeInteger(address1, readInteger('[[foo.exe+12C4]+3D0]+F4')) end, VK_SHIFT, VK_Q)

_________________
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
Dark Byte
Site Admin
Reputation: 342

Joined: 09 May 2003
Posts: 20066
Location: The netherlands

PostPosted: Sun Oct 15, 2017 11:04 am    Post subject: Reply with quote

or without lua just assign a 'set value' hotkey and set the value to
Code:

(descriptionOfMemoryRecordThatHoldsTheValue)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
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