Lua:readInteger

From Cheat Engine
Revision as of 21:27, 29 May 2025 by Csimbi (talk | contribs) (Added clarification on the optional flag)
Jump to navigation Jump to search

function readInteger(Address [ , Flag]) : integer

Reads a DWORD (4 bytes) at the given address and interprets them as an integer

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address to read
Flag Boolean If 'true', CE will interpret value as signed. If false or missing, CE will interpret value as unsigned.


Main Pages

Core Lua documentation entry points

Lua
Script Engine

Related Functions