Lua functions

HasPendingQuest

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

Historical signature: HasPendingQuest(player, quest_id)

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

Function: HasPendingQuest(player, quest_id)

Description: Identifies if the Player has a pending quest acceptance window for the quest_id specified.

Parameters:

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

elseif HasPendingQuest(Spawn, questID) then

Evidence: server/SpawnScripts/ElddarGrove/NaturalistTummyfill.lua:32; binding EQ2Emu_lua_HasPendingQuest.

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