Posted: Thu Jul 23, 2020 4:28 pm Post subject: Need a simple script to change value.
Hello guys. I'm all day digging this forum for an answer but I didnt't find it. So I decided to finally create an account.
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.
I hope it's clear.
I know it's simple but I'm a complete beginner with cheat engine.
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