Hi. I have trouble with decay item created in lua.
When i create item on map i wanna add unique id attribute and decay it.
I creating item using this code:
local itemHandle = Game.createItem(9957, 1, v.pos)
itemHandle:decay()
itemHandle:setAttribute(ITEM_ATTRIBUTE_DURATION, 7200000)...