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

Button to rollable table in macros

Hello. I'm trying to place a button in a macro that, if pressed, rolls on a rollable table and gives me the result. I know that I can directly roll from a table by using  [[1t[TableName]]] but that's not quite what I want because whether I need to roll on that table depends on the result of the die roll the macro executes before. So I want the result only if I press the button. How can I do this? Thank you in advance.
1588082701
Kraynic
Pro
Sheet Author
What I do is a combination of 2 tricks from the Stupid Tricks thread (if you haven't looked through that thread, you should). Macro Character Sheet:&nbsp; <a href="https://app.roll20.net/forum/permalink/5924364/" rel="nofollow">https://app.roll20.net/forum/permalink/5924364/</a> and <a href="https://app.roll20.net/forum/permalink/7605679/" rel="nofollow">https://app.roll20.net/forum/permalink/7605679/</a> Chat Menus:&nbsp; <a href="https://app.roll20.net/forum/permalink/5927072/" rel="nofollow">https://app.roll20.net/forum/permalink/5927072/</a> Create a character who's sole purpose is to carry macros you might want to use in multiple places.&nbsp; My primary one is Macro Mule.&nbsp; In the attributes and abilities tab, create an ability macro labeled whatever makes sense for the table you are calling.&nbsp; I'll just use Roll-Table as an example.&nbsp; If you don't have another roll template, you might set it up to roll in the default template: &amp;{template:default} {{name=Table Name Here}} {{[[1t[tablename]]]}} Then you go to the roll where you want to have your clickable button to call that table macro, and it would look something like this: [Name of your button here](~Macro Mule|Roll-Table) That should give you a clickable button that displays whatever is in the square brackets, but rolls the macro from the Macro Mule character sheet titled Roll-Table. If that isn't clear, hopefully the links above will help get you going.
I don't get why it needs to be that complicated but it works, thanks a lot. =)