Difference between revisions of "LTargetY"

From Wiki
Jump to: navigation, search
Line 1: Line 1:
__NOTOC__
+
{{header|Last Action|rw|The #lTargetY system variable determines the world y-coordinate of the last target used.}}
== #lTargetY ==
+
'''Last Action System Variables'''
+
=== Description ===
+
{{rw}}
+
  
The #lTargetY system variable determines the world y-coordinate of the last target used.
+
{{note|[[lTargetKind|#lTargetKind]] must be set to 2 or 3 for event Macro 22 to use the target position.}}
 
+
'''NOTE:'''
+
* #lTargetKind must be set to 2 or 3 for event Macro 22 to use the target position.
+
  
 
==== Example ====
 
==== Example ====
Line 28: Line 21:
  
 
</pre>
 
</pre>
==== See Also ====
+
{{footer}}
{|
+
| Width=200px | [[Var lTargetID|#lTargetID]] || Width=200px | [[Var lTargetX|#lTargetX]] || Width=200px | [[Var lTargetY|#lTargetY]] || Width=200px | [[Var lTargetZ|#lTargetZ]] || Width=200px | [[Var lTargetKind|#lTargetKind]]
+
|}
+
----
+
{|
+
| Width=200px | [[Main_Page]] || Width=200px | [[Documentation]] || Width=200px | [[Documentation#Last_Action|Last Action System Variables]]
+
|}
+

Revision as of 13:28, 26 August 2005

The #lTargetY system variable determines the world y-coordinate of the last target used.
Note: #lTargetKind must be set to 2 or 3 for event Macro 22 to use the target position.

Example

; use the shovel
set #lObjectID %shovel
event Macro 17

; wait for target cursor
target 5s

; mine a spot
set #lTargetX 1000
set #lTargetY 1000
set #lTargetZ -1
set #lTargetKind 3
event Macro 22
...

See also

Main Page Documentation