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, when hailing an npc with this function.