Converting data type question

Memory scanning, code injection, debugger internals and other gamemodding related discussion
Post Reply
conway
What is cheating?
What is cheating?
Posts: 1
Joined: Fri Oct 27, 2023 8:01 pm
Reputation: 0

Converting data type question

Post by conway »

I'm working on creating more complicated assembly scripts with cheat engine for the CE Game Tutorials.
The last thing I want to do is make it so the character in step 3's position which is stored as a float type value with a different ratio than the mouse position which I'm pretty sure is stored as a 4byte value type.

My questions are...
1: how do I fetch the mouse position values and bring them to the area in the program that sets the player's position
2: how do I convert the value and data type so that it will work as a value to set the player's position

I have searched and found some information related to this but haven't found anything to get me over that hurdle. Sorry if there is already a topic discussing this exact issue, sometimes I'm not even sure what to search up to find the solutions.

Post Reply

Who is online

Users browsing this forum: No registered users