Difference between revisions of "LUA:GetQuestStepProgress"

(Created page with "= LUA Functions: GetQuestStepProgress() = Gets the players progress for the given step ==== Syntax ==== var = GetQuestStepProgress(param1, param2, param3) ==== Parameters ===...")
 
 
Line 1: Line 1:
 +
{{PageHeaderChild|LUA|GetQuestStepProgress}}
 +
 
= LUA Functions: GetQuestStepProgress() =
 
= LUA Functions: GetQuestStepProgress() =
 
Gets the players progress for the given step
 
Gets the players progress for the given step

Latest revision as of 18:15, 21 March 2016

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