<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3AGetFollowTarget</id>
	<title>LUA:GetFollowTarget - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://oldwiki.eq2classic.com/index.php?action=history&amp;feed=atom&amp;title=LUA%3AGetFollowTarget"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetFollowTarget&amp;action=history"/>
	<updated>2026-07-12T01:55:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.3</generator>
	<entry>
		<id>https://oldwiki.eq2classic.com/index.php?title=LUA:GetFollowTarget&amp;diff=4813&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: GetFollowTarget() = Gets the spawn that the current spawn is following   ==== Syntax ==== GetFollowTarget(param1)   ==== Parameters ==== ; Required - ''param1'' ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetFollowTarget&amp;diff=4813&amp;oldid=prev"/>
		<updated>2013-05-24T03:44:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: GetFollowTarget() = Gets the spawn that the current spawn is following   ==== Syntax ==== GetFollowTarget(param1)   ==== Parameters ==== ; Required - &amp;#039;&amp;#039;param1&amp;#039;&amp;#039; ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: GetFollowTarget() =&lt;br /&gt;
Gets the spawn that the current spawn is following&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
GetFollowTarget(param1)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn)&lt;br /&gt;
: ''param1'' is the spawn to check&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function hailed(NPC, Spawn)&lt;br /&gt;
    follow_target = GetFollowTarget(NPC)&lt;br /&gt;
    if follow_target ~= nil then&lt;br /&gt;
        Say(NPC, &amp;quot;I am following &amp;quot; .. GetName(follow_target) .. &amp;quot;.&amp;quot;)&lt;br /&gt;
    end&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When hailed, the spawn will respond saying who they are following, if they are following any one.&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>