Difference between revisions of "LTargetX"

From Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
{{header|Last Action|rw|The #lTargetX system variable determines the world x-coordinate of the last target used.}}
 
{{header|Last Action|rw|The #lTargetX system variable determines the world x-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|#lTargetKind]] must be set to 2 or 3 for event Macro 22 to use the target position.}}
 +
  
 
==== Example ====
 
==== Example ====

Revision as of 04:08, 29 August 2005

The #lTargetX system variable determines the world x-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