Lua functions

GetQuestStepProgress

Registered in this checkout as EQ2Emu_lua_GetQuestStepProgress; implementation found at WorldServer/Lua/LuaFunctions.cpp:11734.

Historical signature: GetQuestStepProgress(player, quest_id, step_id)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: GetQuestStepProgress(player, quest_id, step_id)

Description: Gets the current progress of the quest step for the player.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • quest_id (uint32) - Integer value quest_id.
  • step_id (uint32) - Integer value step_id.

Returns: UInt32 current progress of the step.

Checked example

Active call in a local runtime Lua script. Argument count matches current fixed C++ readers. This is a contextual call pattern, not a tested standalone script.

elseif GetQuestStepProgress(Spawn, 155, 1) == 3 then

Evidence: server/SpawnScripts/Darklight/CalnozzJMelvirr.lua:48; binding EQ2Emu_lua_GetQuestStepProgress.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.