Difference between revisions of "Lua:writeFloatLocal"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' writeFloatLocal(''Address'', ''Value'') Writes 64-bits (8 bytes) at the given address, in Cheat Engine's memory, representing the value you have given as a single…')
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' writeFloatLocal(''Address'', ''Value'')
 
'''function''' writeFloatLocal(''Address'', ''Value'')
  
Writes 64-bits (8 bytes) at the given address, in Cheat Engine's memory, representing the value you have given as a single precision floating point.
+
Writes a DWORD (4 bytes) at the given address, in Cheat Engine's memory, representing the value you have given as a single precision floating point.
 +
 
 +
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]]
 
* [[writeIntegerLocal]]
 
* [[writeQwordLocal]]
 
* [[writeDoubleLocal]]
 
* [[writeStringLocal]]
 
* [[wordToByteTable]]
 
* [[dwordToByteTable]]
 
* [[qwordToByteTable]]
 
* [[floatToByteTable]]
 
* [[doubleToByteTable]]
 
* [[stringToByteTable]]
 
* [[wideStringToByteTable]]
 
* [[byteTableToWord]]
 
* [[byteTableToDword]]
 
* [[byteTableToQword]]
 
* [[byteTableToFloat]]
 
* [[byteTableToDouble]]
 
* [[byteTableToString]]
 
* [[byteTableToWideString]]
 

Latest revision as of 00:05, 25 January 2018

function writeFloatLocal(Address, Value)

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

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

Function Parameters[edit]

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


See also[edit]

Related Functions[edit]