Difference between revisions of "Lua:getAddress"

From Cheat Engine
Jump to navigation Jump to search
(Added mention of errorOnLookupFailure)
Line 20: Line 20:
 
== See also ==
 
== See also ==
 
* [[Lua]]
 
* [[Lua]]
 +
* [[Help_File:Script engine|Script engine]]
 +
 +
=== Related Functions ===
 +
* [[getNameFromAddress]]
 +
* [[getCommonModuleList]]
 +
* [[inModule]]
 +
* [[inSystemModule]]
 +
* [[targetIs64Bit]]

Revision as of 02:40, 10 March 2017

function getAddress(AddressString)

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


See also

Related Functions