<?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%3ASetQuestCompleteAction</id>
	<title>LUA:SetQuestCompleteAction - 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%3ASetQuestCompleteAction"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetQuestCompleteAction&amp;action=history"/>
	<updated>2026-07-12T15:12:33Z</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:SetQuestCompleteAction&amp;diff=5061&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: SetQuestCompleteAction() = Sets the LUA function to be called when the given quest is completed   ==== Syntax ==== SetQuestCompleteAction(param1, param2)   ==== ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetQuestCompleteAction&amp;diff=5061&amp;oldid=prev"/>
		<updated>2013-09-12T19:21:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: SetQuestCompleteAction() = Sets the LUA function to be called when the given quest is completed   ==== Syntax ==== SetQuestCompleteAction(param1, param2)   ==== ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: SetQuestCompleteAction() =&lt;br /&gt;
Sets the LUA function to be called when the given quest is completed&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SetQuestCompleteAction(param1, param2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Quest), ''param2'' (string)&lt;br /&gt;
: ''param1'' is the quest we want to set the completed action for&lt;br /&gt;
: ''param2'' is the name of the LUA function&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function init(Quest)&lt;br /&gt;
    SetQuestCompleteAction(Quest, &amp;quot;woot&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function woot(Quest, Player)&lt;br /&gt;
    -- this function is called when the quest is completed&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sets the complete action to the LUA function &amp;quot;woot&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
The complete function will receive the Quest as the first param and the player completing the quest as the second param&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>