You are viewing an old version of this page. Return to the latest version.
Version of 18:14, 21 March 2016 by I need to Update My Profile
No categories assigned
LUA:GetQuestStepProgress
- Last edited 9 years ago by I need to Update My Profile
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