PDA

View Full Version : MoveItemToContainer



grzeniek1
12-13-2016, 07:14 AM
Hi

I use MoveItemToContainer to move items from bp X to BP Y.
I have question about ID items. If i have 2 types of items if BP X.
How i can move e.g. 10 pieces items(with a specific ID) to BP Y.

THX

yompa93
12-14-2016, 06:37 PM
FromContainer:MoveItemToContainer(fromSpot, toContainer:Index(), toContainer:ItemCapacity()-1, ItemID)

make a loop to make it move all items from one backpack to another. If you want to move multiple items you should make a table with the different id's.