Lua functions

CloseItemConversation

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

Historical signature: CloseItemConversation(item, player)

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

Function: CloseItemConversation(item, player)

Description:

Closes a conversation of the Player with an Item script.

Parameters:

  • item (Item) - Item object representing item.
  • player (Spawn) - Spawn object representing player.

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.

CloseItemConversation(NPC,Spawn)

Evidence: server/SpawnScripts/DownBelow/AncientStatue.lua:27; binding EQ2Emu_lua_CloseItemConversation.

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