No categories assigned

LUA:GetQuestStepProgress

LUA - GetQuestStepProgress

Return to: LUA | Tutorials | Portal | Forum | Project Manager | Bug Tracker


LUA Functions: GetQuestStepProgress()

Gets the players progress for the given step


Syntax

var = GetQuestStepProgress(param1, param2, param3)


Parameters

Required - param1 (Spawn), param2 (int32), param3 (int32)
param1 is the player we want to check
param2 is the quest id to check
param3 is the step id to check


Usage

function hailed(NPC, Spawn)
    Say(NPC, "You are current progress on step one is " .. GetQuestStepProgress(Spawn, 1234, 1))
end

The NPC will respond with the current progress of step one for quest 1234

Notes

Returns an int32