Lua:getAddress

From Cheat Engine
Revision as of 03:38, 18 April 2018 by TheyCallMeTim13 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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