Lua functions

AddQuestStepProgressAction

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

Historical signature: AddQuestStepProgressAction(quest, step, action)

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

Function: AddQuestStepProgressAction(quest, step, action)

Description: This can be used to call a LUA function when a quest step progresses successfully (such as a kill 1/10 or item 1/10).

Parameters:

  • quest (Quest) - Quest object representing quest.
  • step (int32) - Integer value step.
  • action (int32) - Integer value action.

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.

AddQuestStepProgressAction(Quest, id, activeStep.progress)

Evidence: server/Quests/Generic/questmodule.lua:467; binding EQ2Emu_lua_AddQuestStepProgressAction.

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