Difference between revisions of "Lua:readFloatLocal"

From Cheat Engine
Jump to navigation Jump to search
m (Reverted edits by This content is not available (Talk) to last revision by TheyCallMeTim13)
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''function''' readFloatLocal(''Address'')
+
[[Category:Lua]]
 +
'''function''' readFloatLocal(''Address'') ''':''' float
  
 
Reads a DWORD (4 bytes) at the given address, in Cheat Engine's memory, and interprets them as a single precision floating point value.
 
Reads a DWORD (4 bytes) at the given address, in Cheat Engine's memory, and interprets them as a single precision floating point value.
Line 17: Line 18:
  
  
== 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]]
 
* [[readDoubleLocal]]
 
* [[readStringLocal]]
 
* [[writeBytesLocal]]
 
* [[writeIntegerLocal]]
 
* [[writeQwordLocal]]
 
* [[writeFloatLocal]]
 
* [[writeDoubleLocal]]
 
* [[writeStringLocal]]
 
* [[wordToByteTable]]
 
* [[dwordToByteTable]]
 
* [[qwordToByteTable]]
 
* [[floatToByteTable]]
 
* [[doubleToByteTable]]
 
* [[stringToByteTable]]
 
* [[wideStringToByteTable]]
 
* [[byteTableToWord]]
 
* [[byteTableToDword]]
 
* [[byteTableToQword]]
 
* [[byteTableToFloat]]
 
* [[byteTableToDouble]]
 
* [[byteTableToString]]
 
* [[byteTableToWideString]]
 

Revision as of 19:07, 18 March 2019

function readFloatLocal(Address) : float

Reads a DWORD (4 bytes) at the given address, in Cheat Engine's memory, and interprets them as a single precision floating point value.

Note: The value read is from the Cheat Engine process instead of the targeted process.

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address to read


See also

Related Functions