No categories assigned

LUA:SetQuestTimerComplete

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.