function onStepIn(cid)
local differentPlaceTile = {x=123, y=321, z=7, stackpos = STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE}
doRemoveItem(getThingfromPos(differentPlaceTile).uid)
end
Just something I wrote in a hurry, but should do what you asked for.
Code:function onStepIn(cid) local differentPlaceTile = {x=123, y=321, z=7, stackpos = STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE} doRemoveItem(getThingfromPos(differentPlaceTile).uid) end
<movevent event="StepIn" actionid="20013" script="testpoi.lua"/>
place movements/scripts
and then in movements.xml add
Code:<movevent event="StepIn" actionid="20013" script="testpoi.lua"/>
function onStepIn(cid)
local differentPlaceTile = {x=123, y=321, z=7, stackpos = STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE}
doRemoveItem(getThingfromPos(differentPlaceTile).uid)
end
<movevent event="StepIn" actionid="20013" script="item_disappear.lua"/>