<?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%3ASetQuestTimer</id>
	<title>LUA:SetQuestTimer - 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%3ASetQuestTimer"/>
	<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetQuestTimer&amp;action=history"/>
	<updated>2026-07-13T13:06:38Z</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:SetQuestTimer&amp;diff=5464&amp;oldid=prev</id>
		<title>Jabantiz: Created page with &quot;= LUA Functions: SetQuestTimer() = Sets the timer for the given quest   ==== Syntax ==== SetQuestTimer(param1, param2, param3, param4, param5)   ==== Parameters ==== ; Required -...&quot;</title>
		<link rel="alternate" type="text/html" href="https://oldwiki.eq2classic.com/index.php?title=LUA:SetQuestTimer&amp;diff=5464&amp;oldid=prev"/>
		<updated>2014-07-21T03:09:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= LUA Functions: SetQuestTimer() = Sets the timer for the given quest   ==== Syntax ==== SetQuestTimer(param1, param2, param3, param4, param5)   ==== Parameters ==== ; Required -...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= LUA Functions: SetQuestTimer() =&lt;br /&gt;
Sets the timer for the given quest&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Syntax ====&lt;br /&gt;
SetQuestTimer(param1, param2, param3, param4, param5)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Parameters ====&lt;br /&gt;
; Required - ''param1'' (Quest), ''param2'' (Spawn), ''param3'' (int32), ''param4'' (int32), ''param5'' (string)&lt;br /&gt;
: ''param1'' is the quest we want to set the timer for&lt;br /&gt;
: ''param2'' is the player whos quest is getting the timer&lt;br /&gt;
: ''param3'' is the step the timer is being set for&lt;br /&gt;
: ''param4'' is the duration in seconds to set the timer for&lt;br /&gt;
: ''param5'' is the lua function to call if the timer expires&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Usage ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function Step1Complete(Quest, QuestGiver, Player)&lt;br /&gt;
    SetQuestTimer(Quest, Player, 2, 300, &amp;quot;Step2Failed&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will set a timer for step 2 of this quest, if the timer expires it will call the Step2Failed lua function.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
There is no need to use AddStepFailureAction() as SetQuestTimer does that automatically.&lt;/div&gt;</summary>
		<author><name>Jabantiz</name></author>
		
	</entry>
</feed>