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 


Need script to automatically change value.

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

Joined: 23 Jul 2020
Posts: 2

PostPosted: Fri Jul 24, 2020 11:49 am    Post subject: Need script to automatically change value. Reply with quote

I don't know if this is the right section for this. I need some help.

I have a pointer with a value that starts at 45 and keeps decreasing until it reaches zero.
I need a script to make a 'jump' and speed the process. Let me explain.
So, repeating.... the value starts at 45 and will then decrease. What I need is that, once it reaches 20, CE would set the value to 0.

I tried this (pretty sure the syntax is wrong)

myult = getAddressList().getMemoryRecordByDescription("MyUlt")
value1 = 20
if myult[value1] then
myult.Value = 0
end

Nothing seems to happen when i execute it. I'm using the Lua script.
I have no idea how to use this with auto assemble and compile it. If anyone could send me a beginner friendly tutorial I would appreciate it.

Please keep in mind I'm a complete beginner with cheat engine Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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