Difference between revisions of "Lua:getAddress"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | '''function''' getAddress(''AddressString'') | + | '''function''' getAddress(''AddressString'') ''':''' integer |
Passes the given string to Cheat Engine's symbol handler and returns the corresponding address as an integer | Passes the given string to Cheat Engine's symbol handler and returns the corresponding address as an integer |
Revision as of 02:08, 11 March 2017
function getAddress(AddressString) : integer
Passes the given string to Cheat Engine's symbol handler and returns the corresponding address as an integer
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 |