Difference between revisions of "LUA:SetQuestTimerComplete"

(Created page with "= LUA Functions: SetQuestTimerComplete() = This will clear the timer for the given quest ==== Syntax ==== SetQuestTimerComplete(param1, param2) ==== Parameters ==== ; Require...")
 
(No difference)

Latest revision as of 20:29, 20 July 2014

LUA Functions: SetQuestTimerComplete()

This will clear the timer for the given quest


Syntax

SetQuestTimerComplete(param1, param2)


Parameters

Required - param1 (Quest), param2 (Spawn)
param1 is the quest whos timer is finished
param2 is the player who has the quest


Usage

function Step2Complete(Quest, QuestGiver, Player)
    SetQuestTimerComplete(Quest, Player)
end

This will clear the timer for the quest

Notes

This should be used to stop the timer when the player successfully completes their task before the timer has expired.