491 B
491 B
Function: CloseConversation(npc, player)
Description:
Closes a Player's active conversation with the NPC.
Parameters:
npc
(Spawn) - Spawn object representingnpc
.player
(Spawn) - Spawn object representingplayer
.
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