You are viewing an old version of this page. Return to the latest version.
Version of 19:18, 9 May 2013 by I need to Update My Profile
No categories assigned
LUA:SetStepComplete
- Last edited 12 years ago by I need to Update My Profile
Completes a quest step.
Syntax
SetStepComplete(target, QuestID, Step)
Usage
function hailed(NPC, Spawn)
if GetQuestStep(Spawn, 1) then
SetStepComplete(Spawn, 300, 1)
end
end
This will set step one of a quest with the id of 300 as complete, if they are on that step of that quest.