No categories assigned

LUA:CloseItemConversation

LUA Functions: CloseItemConversation()

Forces the dialog between the player and the item to close.


Syntax

CloseItemConversation(param1, param2)


Parameters

Required - param1 (Item), param2 (Spawn)
param1 is the item the player is having a dialog with
param2 is the player, must be a player


Usage

function close_dialog(Item, Spawn)
    CloseItemConversation(Item, Spawn)
end

This function would force the dialog between the item and the player to close.