Difference between revisions of "Lua:getAddress"

From Cheat Engine
Jump to navigation Jump to search
(Related Functions)
Line 22: Line 22:
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[getNameFromAddress]]
+
* [[Lua:getNameFromAddress|getNameFromAddress]]
* [[getCommonModuleList]]
+
* [[Lua:getCommonModuleList|getCommonModuleList]]
* [[inModule]]
+
* [[Lua:inModule|inModule]]
* [[inSystemModule]]
+
* [[Lua:inSystemModule|inSystemModule]]
* [[targetIs64Bit]]
+
* [[Lua:targetIs64Bit|targetIs64Bit]]
* [[enumModules]]
+
* [[Lua:enumModules|enumModules]]

Revision as of 00:42, 25 January 2018

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