Page 1 of 1

How to make a trainer change the value of a pointer

Posted: Fri Jun 17, 2022 5:27 pm
by megupets
Hello, I was able to create a pointer and i was wondering if there is a way to create a button on a trainer or a hotkey for changing/injecting a new value into the pointer.

The pointer starts with a "5000" value on a new save game so I want to be able to change that value with the trainer into a higher value.
Anyone can point me in the right direction on how to achieve this?
I've seen a couple of videos on youtube but most of them are outdated/do not cover what I want to do so I've no idea what I'm doing or how to achieve this.

I'm New to CE and Lua.

Re: How to make a trainer change the value of a pointer

Posted: Fri Jun 17, 2022 5:30 pm
by LeFiXER
Why not just use a hotkey to set a specific value?

Re: How to make a trainer change the value of a pointer

Posted: Fri Jun 17, 2022 6:21 pm
by megupets
LeFiXER wrote:
Fri Jun 17, 2022 5:30 pm
Why not just use a hotkey to set a specific value?
That would work as well, but idk how to do that. I can assign a hotkey to the address but all it does is freeze the value instead of changing it.

Re: How to make a trainer change the value of a pointer

Posted: Fri Jun 17, 2022 7:39 pm
by LeFiXER
Right-click the pointer in the cheat table > edit/set hotkey. From there you can change the parameters of the hotkey. Set value, increase/decrease value, toggle (freeze/unfreeze) etc...

Re: How to make a trainer change the value of a pointer

Posted: Fri Jun 17, 2022 7:41 pm
by megupets
LeFiXER wrote:
Fri Jun 17, 2022 7:39 pm
Right-click the pointer in the cheat table > edit/set hotkey. From there you can change the parameters of the hotkey. Set value, increase/decrease value, toggle (freeze/unfreeze) etc...
It works!
Thank you so much!

Re: How to make a trainer change the value of a pointer

Posted: Fri Jun 17, 2022 7:59 pm
by LeFiXER
You're welcome :)