Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

DeckBuilder script by TheAaron

Hi Aaron, I'm trying to set up a Roll20 game with a card deck that has multiples of the same card in it, and I found your DeckBuilder script here:&nbsp; <a href="https://app.roll20.net/forum/permalink/12209274/" rel="nofollow">https://app.roll20.net/forum/permalink/12209274/</a> However, when I tried adding the script and following your instructions, it successfully deleted the few cards I had manually added in the specified deck, but it did not then create any cards (the deck was left with 0 cards).&nbsp; Is there something that was broken in the transition to JumpGate, or some other easy fix you can share? Thanks as always for your expert arcane scriptomancy help!
1771223569
The Aaron
Roll20 Production Team
API Scripter
Are the deck images in your user library? (Supported by API) Or in the marketplace? (Not supported by API)
In my library.
To follow up for posterity / anyone else who has this issue, it turns out that I misunderstood the script's instructions.&nbsp; When it says "put the number of cards in the 3rd bar bubble", that means the third bar down when you open the token's properties, but that's actually the lower-left of 3 bubbles when you have the token selected, what I would have called the 1st bubble, which is by default red.&nbsp; From left to right when you have a token selected, the bubbles are numbered "3-1-2", for legacy programming reasons.&nbsp; ;-) Putting the number in the correct bubble (or heck, all of them!) resulted in the script working exactly as described.&nbsp; Thanks again, Aaron!