No categories assigned

LUA:RemoveQuestStep

Revision as of 20:15, 20 July 2014 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: RemoveQuestStep() = Sets the timer for the given quest ==== Syntax ==== RemoveQuestStep(param1, param2, param3) ==== Parameters ==== ; Required - ''param1'' ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: RemoveQuestStep()

Sets the timer for the given 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.