RedditPP Mascot

RedditPP

r/tabletopsimulator • … • u/MrMcChew

Script: moving object from bag to bag

Is there a simple way to draw an object from a bag and add it to another bag. I tried using putObject as a call back function to takeObject, but that didn't seem to work.

Here's what I'm trying to do:

I have 4 decks of 8 cards each. I need to shuffle the 4 decks then evenly distribute these cards into 8 decks of 4 cards each. Shuffle each one. Then stack the decks on top of each other to form the final deck.

I figured using bags might be easier than decks since a deck is destroyed when you have one card left.

Any suggestions?

— 0