You are viewing an old version of this page. Return to the latest version.
Version of 20:15, 20 July 2014 by I need to Update My Profile
Difference between revisions of "LUA:RemoveQuestStep"
(Created page with "= LUA Functions: RemoveQuestStep() = Sets the timer for the given quest ==== Syntax ==== RemoveQuestStep(param1, param2, param3) ==== Parameters ==== ; Required - ''param1'' ...") |
|||
| Line 1: | Line 1: | ||
= LUA Functions: RemoveQuestStep() = | = LUA Functions: RemoveQuestStep() = | ||
| − | + | Removes the given step from the given players quest | |
Latest revision as of 20:16, 20 July 2014
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.