Lua:getAddress

From Cheat Engine
Jump to navigation Jump to search

function getAddress(AddressString, local OPTIONAL) : integer

Passes the given string to Cheat Engine's symbol handler and returns the corresponding address as an integer. Can be a module name or an export. Set local to true if you wish to query the symbol table of the CE process.

If errorOnLookupFailure is set to true (the default value), if you look up a symbol that does not exist, it will throw an error. With errorOnLookupFailure set to false, it will return 0.


Function Parameters

Parameter Type Description
AddressString CEAddressString The AddressString to convert to an integer
local Boolean Set to true if you wish to query the symbol table of the CE process


See also

Related Functions