No categories assigned

LUA:SetStepFailed

Revision as of 20:39, 20 July 2014 by Jabantiz (talk | contribs) (Created page with "= LUA Functions: SetStepFailed() = This will set the given step as failed ==== Syntax ==== SetStepFailed(param1, param2) ==== Parameters ==== ; Required - ''param1'' (Quest),...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LUA Functions: SetStepFailed()

This will set the given step as failed


Syntax

SetStepFailed(param1, param2)


Parameters

Required - param1 (Quest), param2 (int32)
param1 is the quest whos step we are failing
param2 is the step we are failing


Usage

function Step2Complete(Quest, QuestGiver, Player)
    SetStepFailed(Quest, 2)
end

Will cause step 2 to fail