Lua functions

SetStepFailed

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

Historical signature: SetStepFailed(player, quest_id, step)

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

Function: SetStepFailed(player, quest_id, step)

Description: Set the player's quest step as failed.

Parameters:

  • player (Spawn) - Spawn object representing player.
  • quest_id (uint32) - Integer value quest_id.
  • step (uint32) - 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.

SetStepFailed(Spawn,5890,1)

Evidence: server/SpawnScripts/SerpentSewer/WatcherKenjedeau.lua:125; binding EQ2Emu_lua_SetStepFailed.

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