LObjectID

From Wiki
Revision as of 12:14, 26 August 2005 by Kedrick Valorite (Talk | contribs)

Jump to: navigation, search
The #lObjectID system variable contains the ID of the last used object. You can also write to this variable and use it in conjuction with event Macro 17 (LastObject), which will use the object as if it was double-clicked with the mouse.

Example

set #lObjectID %carpentryTool
event macro 17
; crafting menu is now open
...

See also

Main Page Documentation