You are viewing an old version of this page. Return to the latest version.
Version of 20:39, 20 July 2014 by I need to Update My Profile
No categories assigned
LUA:SetStepFailed
- Last edited 11 years ago by I need to Update My Profile
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