Difference between revisions of "LObjectID"

From Wiki
Jump to: navigation, search
Line 1: Line 1:
__NOTOC__
+
{{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.}}
== #lObjectID ==
+
'''Last Action System Variables'''
+
=== Description ===
+
{{rw}}
+
 
+
The [[Var lObjectID|#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 ====
Line 15: Line 9:
  
 
</pre>
 
</pre>
==== See Also ====
+
{{footer}}
{|
+
| Width=200px | [[event Macro|event Macro]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Last_Action|Last Action System Variables]]
+
|}
+

Revision as of 13:14, 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