Difference between revisions of "Lua:writeIntegerLocal"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' writeIntegerLocal(''Address'', ''Value'') Writes 32-bits (4 bytes) at the given address, in Cheat Engine's memory, representing the value you have given as a sign…')
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' writeIntegerLocal(''Address'', ''Value'')
 
'''function''' writeIntegerLocal(''Address'', ''Value'')
  
Writes 32-bits (4 bytes) at the given address, in Cheat Engine's memory, representing the value you have given as a signed integer.
+
Writes a DWORD (4 bytes) at the given address, in Cheat Engine's memory, representing the value you have given as a signed integer.
 +
 
 +
Note: The value written will be in the Cheat Engine process instead of the targeted process.
  
 
===Function Parameters===
 
===Function Parameters===
Line 19: Line 22:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[Lua]]
 
* [[Help_File:Script engine|Script engine]]
 
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[readBytes]]
+
{{ReadWriteMemory}}
* [[readInteger]]
 
* [[readQword]]
 
* [[readPointer]]
 
* [[readFloat]]
 
* [[readDouble]]
 
* [[readString]]
 
* [[writeBytes]]
 
* [[writeInteger]]
 
* [[writeQword]]
 
* [[writeFloat]]
 
* [[writeDouble]]
 
* [[writeString]]
 
* [[readBytesLocal]]
 
* [[readIntegerLocal]]
 
* [[readQwordLocal]]
 
* [[readPointerLocal]]
 
* [[readFloatLocal]]
 
* [[readDoubleLocal]]
 
* [[readStringLocal]]
 
* [[writeBytesLocal]]
 
* [[writeQwordLocal]]
 
* [[writeFloatLocal]]
 
* [[writeDoubleLocal]]
 
* [[writeStringLocal]]
 
* [[wordToByteTable]]
 
* [[dwordToByteTable]]
 
* [[qwordToByteTable]]
 
* [[floatToByteTable]]
 
* [[doubleToByteTable]]
 
* [[stringToByteTable]]
 
* [[wideStringToByteTable]]
 
* [[byteTableToWord]]
 
* [[byteTableToDword]]
 
* [[byteTableToQword]]
 
* [[byteTableToFloat]]
 
* [[byteTableToDouble]]
 
* [[byteTableToString]]
 
* [[byteTableToWideString]]
 

Revision as of 00:04, 25 January 2018

function writeIntegerLocal(Address, Value)

Writes a DWORD (4 bytes) at the given address, in Cheat Engine's memory, representing the value you have given as a signed integer.

Note: The value written will be in the Cheat Engine process instead of the targeted process.

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address of memory to write to
Value Integer The value to write to memory


See also

Related Functions