Difference between revisions of "Lua:getAddress"

From Cheat Engine
Jump to navigation Jump to search
Line 19: Line 19:
  
  
== See also ==
+
{{LuaSeeAlso}}
* [[Lua]]
 
* [[Help_File:Script engine|Script engine]]
 
  
 
=== Related Functions ===
 
=== Related Functions ===

Revision as of 21:24, 19 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


See also

Related Functions