Lua functions

QuestStepIsComplete

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

Historical signature: QuestStepIsComplete(player, quest_id, step_id)

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

Function: QuestStepIsComplete(player, quest_id, step_id)

Description: Returns if the Player has completed the step_id in the specified quest_id.

Parameters:

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

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.

QuestStepIsComplete(Spawn,Drag,5)

Evidence: server/SpawnScripts/FallenGate/draconicwidget03.lua:18; binding EQ2Emu_lua_QuestStepIsComplete.

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