523 B
523 B
Function: CloseItemConversation(item, player)
Description:
Closes a conversation of the Player with an Item script.
Parameters:
item
(Item) - Item object representingitem
.player
(Spawn) - Spawn object representingplayer
.
Returns: None.
Example:
-- From ItemScripts/abixieeye.lua
function Step_Complete(Item, Player)
if HasItem(Player,1219,1) then
SetStepComplete(Player, LoreAndLegendBixie, 4)
CloseItemConversation(Item, Player)
RemoveItem(Player, 1219)
end