<?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%3AGetArchetypeName</id>
	<title>LUA:GetArchetypeName - 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%3AGetArchetypeName"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetArchetypeName&amp;action=history"/>
	<updated>2026-07-13T12:01:16Z</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:GetArchetypeName&amp;diff=4858&amp;oldid=prev</id>
		<title>Thefoof: Created page with &quot;== LUA Functions: GetArchetypeName(Spawn) == Returns the string value of a spawn's archetype. Example, if used on a spawn with the adventure class &quot;Assassin&quot; will return the stri...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:GetArchetypeName&amp;diff=4858&amp;oldid=prev"/>
		<updated>2013-07-19T21:02:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== LUA Functions: GetArchetypeName(Spawn) == Returns the string value of a spawn&amp;#039;s archetype. Example, if used on a spawn with the adventure class &amp;quot;Assassin&amp;quot; will return the stri...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== LUA Functions: GetArchetypeName(Spawn) ==&lt;br /&gt;
Returns the string value of a spawn's archetype. Example, if used on a spawn with the adventure class &amp;quot;Assassin&amp;quot; will return the string value &amp;quot;Scout&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Developer:LUA_Functions | Back to LUA Functions Index]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
GetArchetypeName(Spawn)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
  function hailed(NPC, Spawn)&lt;br /&gt;
    Say(NPC, &amp;quot;Your archetype is &amp;quot; .. GetArchetypeName(Spawn) .. &amp;quot;!&amp;quot;)&lt;br /&gt;
  end&lt;br /&gt;
&lt;br /&gt;
This makes the NPC respond to the player who hails it with the player's archetype.&lt;/div&gt;</summary>
		<author><name>Thefoof</name></author>
		
	</entry>
</feed>