No categories assigned
LUA:RemoveQuestStep
- Last edited 11 years ago by I need to Update My Profile
LUA Functions: RemoveQuestStep()
Removes the given step from the given players quest
Syntax
RemoveQuestStep(param1, param2, param3)
Parameters
- Required - param1 (Spawn), param2 (Quest), param3 (int32)
- param1 is the player we are removing a step from
- param2 is the quest we are removing a step from
- param3 is the step we are removing
Usage
function Step2Failed(Quest, QuestGiver, Player)
RemoveQuestStep(Player, Quest, 2)
end
This will remove step 2 from the given players quest
Notes
Recommended to use ResetQuestStep() before this function.