and the player ta x5 y5
so every time he north 1+ south -1, left +1, right -1
now how to create the function for him to calculate this = Z
the script has to calculate the steps of the player to reach x10 y10
Code: Select all
x := mem.read(mem.BaseAddress + 0x0054E4D0, "UInt",0x0C )
y := mem.read(mem.BaseAddress + 0x0054E4D0, "UInt",0x10 )
z := mem.read(mem.BaseAddress + 0x0054E4D0, "UInt",0x14 )
it will always be based on the read memory of the game, thanks.