<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=LTargetKind</id>
		<title>LTargetKind - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=LTargetKind"/>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=LTargetKind&amp;action=history"/>
		<updated>2026-04-30T02:02:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://wiki.easyuo.com/index.php?title=LTargetKind&amp;diff=5887&amp;oldid=prev</id>
		<title>Seg: Protected &quot;LTargetKind&quot; [edit=sysop:move=sysop]</title>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=LTargetKind&amp;diff=5887&amp;oldid=prev"/>
				<updated>2008-06-19T21:00:17Z</updated>
		
		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/index.php?title=LTargetKind&quot; title=&quot;LTargetKind&quot;&gt;LTargetKind&lt;/a&gt;&amp;quot; [edit=sysop:move=sysop]&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:00, 19 June 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Seg</name></author>	</entry>

	<entry>
		<id>http://wiki.easyuo.com/index.php?title=LTargetKind&amp;diff=5886&amp;oldid=prev</id>
		<title>Seg: New page: {{header|Last Action|rw|The #LTargetKind system variable determines the class of object that was last targeted. The possible values of this variable are listed in the table below.}}   {| b...</title>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=LTargetKind&amp;diff=5886&amp;oldid=prev"/>
				<updated>2008-06-19T21:00:12Z</updated>
		
		<summary type="html">&lt;p&gt;New page: {{header|Last Action|rw|The #LTargetKind system variable determines the class of object that was last targeted. The possible values of this variable are listed in the table below.}}   {| b...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{header|Last Action|rw|The #LTargetKind system variable determines the class of object that was last targeted. The possible values of this variable are listed in the table below.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
 |+LTargetKind Values&lt;br /&gt;
 !style=&amp;quot;background:#ffdead;&amp;quot; |Setting||!style=&amp;quot;background:#ffdead;&amp;quot; |Object Class&lt;br /&gt;
 |-&lt;br /&gt;
 |1 || Object&lt;br /&gt;
 |-&lt;br /&gt;
 |2 || Ground,Mountains,Caves&lt;br /&gt;
 |-&lt;br /&gt;
 |3 || Resource: Tree,Water&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{note|Not setting #LTargetKind (usually to 1) is by far one of the most common mistakes made when scripting. Simply put, every time that you use Event Macro 22 you must ''always'' make sure #LTargetKind is set properly or you will most likely have sporadic targeting problems.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Object Example ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; use the dagger&lt;br /&gt;
set #LObjectID %dagger&lt;br /&gt;
event Macro 17&lt;br /&gt;
&lt;br /&gt;
; wait for target cursor&lt;br /&gt;
target 5s&lt;br /&gt;
&lt;br /&gt;
; carve the hides from the corpse&lt;br /&gt;
set #LTargetID %cowCorpse&lt;br /&gt;
set #LTargetKind 1 ; make sure it targets an object&lt;br /&gt;
event Macro 22&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== World Position Example ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; use the shovel&lt;br /&gt;
set #LObjectID %shovel&lt;br /&gt;
event Macro 17&lt;br /&gt;
&lt;br /&gt;
; wait for target cursor&lt;br /&gt;
target 5s&lt;br /&gt;
&lt;br /&gt;
; mine a spot&lt;br /&gt;
set #LTargetX 1000&lt;br /&gt;
set #LTargetY 1000&lt;br /&gt;
set #LTargetZ -1&lt;br /&gt;
set #LTargetKind 3&lt;br /&gt;
event Macro 22&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
{{Last Action}}&lt;/div&gt;</summary>
		<author><name>Seg</name></author>	</entry>

	</feed>