Joined: 10 Nov 2016 Posts: 84 Location: Another World - N5X2 106311411+2123518
Posted: Mon Aug 23, 2021 9:15 am Post subject: Change address not value in memory record.
Hello all, i cant seem to find out how to do this.
Say i have random memory record with a random address.
How to change the address (not the value) with a Lua script.
Have tried a few things but no luck, any ideas ?
Code:
add=getAddressList().getMemoryRecordByDescription('health').address
newadd=2146977057
if add then writeInteger(add, newadd)
end
--This as you know puts the newadd address into the value of the add address.
--how to put newadd address into the add address.
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