Difference between revisions of "LUA:CloseItemConversation"

(Created page with "= LUA Functions: CloseItemConversation() = Forces the dialog between the player and the item to close. ==== Syntax ==== CloseItemConversation(param1, param2) ==== Parameters ...")
 
(No difference)

Latest revision as of 21:35, 15 October 2012

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.