Lua functions

SetStepComplete

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

Historical signature: SetStepComplete(player, quest_id, step)

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

Function: SetStepComplete(player, quest_id, step)

Description: Set the Quest step as complete.

Parameters:

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

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.

SetStepComplete(Spawn,5766,6)

Evidence: server/SpawnScripts/antonica/HwalRucksif.lua:19; binding EQ2Emu_lua_SetStepComplete.

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