<?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%3ADespawn</id>
	<title>LUA:Despawn - 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%3ADespawn"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:Despawn&amp;action=history"/>
	<updated>2026-07-12T06:32:23Z</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:Despawn&amp;diff=4700&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: Despawn() = Removes the given spawn from the world.  ==== Syntax ==== Despawn(param1, [param2])  ==== Parameters ==== ; Required - ''param1'' (Spawn) : ''param''...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:Despawn&amp;diff=4700&amp;oldid=prev"/>
		<updated>2012-10-16T04:44:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: Despawn() = Removes the given spawn from the world.  ==== Syntax ==== Despawn(param1, [param2])  ==== Parameters ==== ; Required - &amp;#039;&amp;#039;param1&amp;#039;&amp;#039; (Spawn) : &amp;#039;&amp;#039;param&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: Despawn() =&lt;br /&gt;
Removes the given spawn from the world.&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
Despawn(param1, [param2])&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Spawn)&lt;br /&gt;
: ''param'' is the spawn to remove&lt;br /&gt;
; Optional - ''param2'' (int32)&lt;br /&gt;
: ''param2'' is the time in milli seconds before the spawn is removed&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;
    Despawn(NPC)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would make the spawn despawn when it is hailed.&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>