Difference between revisions of "LUA:CloseConversation"
(Created page with "= LUA Functions: CloseConversation() = Closes the dialog between the spawn and a player. ==== Syntax ==== CloseConversation(param1, param2) ==== Parameters ==== ; Required - ...") |
(No difference)
|
Latest revision as of 21:30, 15 October 2012
LUA Functions: CloseConversation()
Closes the dialog between the spawn and a player.
Syntax
CloseConversation(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (Spawn)
- param1 is the spawn with an open dialog to the player
- param2 is the player, must be a player
Usage
function close_dialog(NPC, Spawn)
CloseConversation(NPC, Spawn)
end
This function would force the dialog between the NPC and the player to close.