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 .
×
Create a free account

Rollable fumble table

Ok brainiacs, my goal is to take a fumble deck and put it in a rollable table.  Ideally, when a player rolled a 1 on an attack, they'd hit a macro button / token action and be prompted between melee, ranged, natural or spell attack and then get a result from one of 4 tables sent to chat.  Is this possible?  If so, how do I do it without learning to code?

March 23 (5 years ago)
The Aaron
Roll20 Production Team
API Scripter

Probably easiest would just be to have the macro whisper them 4 buttons and let them click the right one.

You might be able to choose based on a ?{roll query}, but that might require some HTML escaping.

Hmm, let me give a better example of what I'm hoping to achieve.  Ideally I'd hit a single macro button and get a result like this in chat:

But what I'm getting is this:

Essentially what I did was convert a failure deck to a rollable table, but I'm really not happy with the output of either solution so far.  The closest I get is to use the table and then save the location of the image file and then use this macro on the little thumbnail that pops into chat:

[Image](?{URL}#.png)


Is there a better way?

March 24 (5 years ago)

Edited March 24 (5 years ago)
vÍnce
Pro
Sheet Author

How about creating a fumble deck(s)?

OK, I went back and read your OP...  

March 24 (5 years ago)

Edited March 24 (5 years ago)

That's what I have. but to use it I have to have the deck on my tabletop and then deal a card and then reveal the card and it comes out pretty small for my old eyes.


March 24 (5 years ago)

Edited March 24 (5 years ago)
vÍnce
Pro
Sheet Author

I have some "experienced" eyes as well. ;-P

Did you try changing the size of the deck?


March 24 (5 years ago)
The Aaron
Roll20 Production Team
API Scripter

If you do want to use the Rollable Table still, you could use my RecursiveTable script:

!rt[showicons|iconlabel:off|iconscale:50em] [[1t[Test1] ]]

https://app.roll20.net/forum/post/7844658/script-update-recursivetable-now-with-rollable-table-images-and-better-prefixing-rules-for-roll-templates

That changes the size of the card once I actually place it on the table which is yet another step.

March 24 (5 years ago)

Edited March 24 (5 years ago)
vÍnce
Pro
Sheet Author


Patrick said:

That changes the size of the card once I actually place it on the table which is yet another step.

I simply draw a card and it's the size you see on my screen. You can also change the size of the stacked decks from the sidebar. 


Sorry for derailing your original objective.  Not intended. ;-)

That script is exactly what I was trying to do Aaron!  As ever, I am in awe of your talents!

March 24 (5 years ago)
The Aaron
Roll20 Production Team
API Scripter

Sweet!  =D  It does a whole lot more than just that, but I'm glad that facet solves your problem. =D