Hello guys, i need a help
I'm trying use this script above
but the "sendMagicEffect" is where i put the item... not appear where the item will go.
how i change this, the position of sendMagicEffect? i want in tile where the item will go.
Thanks guys, sorry for my bad english
I'm trying use this script above
LUA:
function onAddItem(item, tileitem, position)
doRelocate(tileitem:getPosition(),{x = tileitem:getPosition().x + 3, y = tileitem:getPosition().y, z = 07})
Game.sendMagicEffect(tileitem:getPosition(), 13)
end
but the "sendMagicEffect" is where i put the item... not appear where the item will go.
how i change this, the position of sendMagicEffect? i want in tile where the item will go.
Thanks guys, sorry for my bad english