Take the Tour | Site Map


Documentation
Downloads
Scripts
Community
EUO FAQ
Search

Name

#lTargetKind — (read/write) Determines the kind of what was last targeted.

Description

The #lTargetKind system variable determines the kind of what was last targeted:

Table 26. #lTargetKind values.

ValueDescription
1Object.
2Ground/Mountains/Caves.
3Resource/Tree.

Object Example

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

; wait for target cursor
target 5s

; carve the hides from the corpse
set #lTargetID %cowCorpse
set #lTargetKind 1 ; make sure it targets an object
event Macro 22
...

World 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

#lTargetID, #lTargetX, #lTargetY, #lTargetZ

User Contributed Notes
/www/www.easyuo.com/docs/SysVar_lTargetKind.php
Add Notes About Notes
There are no user contributed notes for this page.
Last updated: Fri, 11 Jan 2008 - 16:30:22