1
0
EQ2Emu/docs/lua_functions/CloseConversation.md
2025-05-27 09:56:36 -04:00

491 B

Function: CloseConversation(npc, player)

Description:

Closes a Player's active conversation with the NPC.

Parameters:

  • npc (Spawn) - Spawn object representing npc.
  • player (Spawn) - Spawn object representing player.

Returns: None.

Example:

-- From Quests/CastleviewHamlet/the_lost_book_of_arbos.lua
function Accepted(Quest, QuestGiver, Player)
 	PlayFlavor(QuestGiver, "", "", "thanks", 0,0 , Player)
 	CloseConversation(QuestGiver,Player)
end