Help destroying items
Posted: Thu Dec 04, 2014 1:30 am
I would like to make any item get destroyed when putting it in a chest. I'm new to LUA please help. I'm using the dungeon editor LUA not external.
Code: Select all
function destroyItem(self, item)
if item then
item.go:destroy()
end
end