Sorry, we don't support your browser.  Install a modern browser

Sending objects to a container from a container duplicates the object#1978

local nextBag = getObjectFromGUID(NextBagGUID)
for index, value in ipairs(self.getObjects()) do
       nextBag.putObject(value)
end
a year ago

Not clear what the issue is. If this script is on the nextBag object, if it works at all, (it shouldn’t) it does not remove anything from the bag, Further, depending on what kind of container you have, this code won’t work at all because bag.getObjects returns a table that describes the objects, not the objects themselves. Zone.getObjects() does return a table of actual objects, but as far as I know zone.putObject() is not valid.

a year ago