No categories assigned

LUA:SetQuestTimerComplete

Revision as of 20:29, 20 July 2014 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: SetQuestTimerComplete() = This will clear the timer for the given quest ==== Syntax ==== SetQuestTimerComplete(param1, param2) ==== Parameters ==== ; Require...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.