Lua functions

AddStepProgress

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

Historical signature: AddStepProgress(player, quest_id, step, progress)

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

Function: AddStepProgress(player, quest_id, step, progress)

Description:

Adds progress to the Player's quest based on the quest_id and step. Setting the current progress value.

Parameters:

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

Returns: None.

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.

AddStepProgress(Spawn,5739,1,1)

Evidence: server/SpawnScripts/IsleRefuge1/aGruttoothaggressor.lua:175; binding EQ2Emu_lua_AddStepProgress.

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