Difference between revisions of "LObjectID"

From Wiki
Jump to: navigation, search
m
Line 1: Line 1:
{{header|Lase Action|rw|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|event Macro]] 17 (LastObject), which will use the object as if it was double-clicked with the mouse.}}
+
{{header|Last Action|rw|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|event Macro]] 17 (LastObject), which will use the object as if it was double-clicked with the mouse.}}
  
 
==== Example ====
 
==== Example ====

Revision as of 12:19, 26 August 2005

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