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

Help with Nested Macros and Roll Tables

December 18 (7 years ago)
I recently watched the video from Taking20 from the Roll20 Master Series on nesting macros and rollable tables. The idea was awesome so I decided to use it to speed up some parts of my Rogue Trader game that can bog down when we have to do it (Navigation of the Warp specifically; we have a Navigator player). I have successfully created all necessary macros, roll tables, and character sheet macros to make the table work perfectly... I say again, the nested macros and tables work 100% of the time when *I* use them.

My problem comes about when the players use the buttons that pop up in the chat window (the macro button to summon them all works great). If the player pushes my "Step 1 - Determine Route Stability" button, it only returns the pointer macro (in this case, it's called #RSR). That macro is supposed to return one of ten results and whisper them to me, but it only returns #RSR. "Allow players to roll on this table" is checked.

Recap: The macros and tables work 100% of the time for me, and 0% of the time for the players. Any thoughts anyone has would be greatly appreciated!
December 18 (7 years ago)
I'll post part of my set-up if it will help:

Macro Name:
Navigation

Actions:
&{template:default} {{name=Navigation of the Warp}} {{Step 1= [Route Stability](!
#RSR)}} {{Step 2= [Journey Duration](!
#GM's-Calculation-of-Duration)}} {{Step 3=[Divine the Auguries](!
#Cymbry-Divine-the-Auguries-Ability)}} {{optional= [Navigator's Estimate](!
#Navigator-Estimate-of-Duration)}} {{Step 4=[Enter the Warp](!
#Morale-Entering-the-Warp)}} {{Step 5=[Locate the Astronomican](!
#Cymbry-Modified-Psyniscience-skill)}} {{Step 6=[Steer the Vessel](!
#Cymbry-Modified-Navigation-of-the-Warp-Skill)}}

This is just the first macro and table referenced above, but all the rest are set up similarly:

Macro Name:
RSR

Action:
/w gm [[1t[Route-Stability]]]

Rollable Table Name:
Route-Stability

Items:
1. Stable Route: The Navigator gains a +10 bonus on any tests to chart this route for future use (see page 34).
2. Indirect Path: Double the GM's Calculation of Duration.
3. etc
4. etc on to 10.

Thanks again for taking a look and seeing what can be done! I do truly appreciate everyone's assistance!
December 18 (7 years ago)

Edited December 18 (7 years ago)
Ziechael
Forum Champion
Sheet Author
API Scripter
Looking at the code I assume the forum has parsed the html entities to nest the macros in the buttons so that shouldn't be an issue... off the top of my head, are the macros set up as visible and therefore accessible to the players?
December 18 (7 years ago)
They weren’t at first, but I have since made them so. My buddy (and player in the RT game), was helping me troubleshoot from the player side but he had to split so I haven’t had a chance to see if that fixed the issue... I’ll post an update when I have one.

thanks again!
December 18 (7 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator

Ziechael said:

Looking for the code I assume the forum has parsed the html entities to nest the macros in the buttons so that shouldn't be an issue... off the top of my head, are the macros set up as visible and therefore accessible to the players?

Also, the rollable tables have to be set to be accessible to players.
December 18 (7 years ago)

Edited December 18 (7 years ago)
Thanks, Ziecharl and Scott! I knew I had checked the boxes for the macros but went back and double checked for sanity’s sake... sure enough, only ONE macro was unchecked and it was about 5 macros into the string... broke the whole chain. Works now!

Sorry to be a bother! Lol
December 19 (7 years ago)
Ziechael
Forum Champion
Sheet Author
API Scripter
Never a bother to this community, no need to struggle for days when a quick post will make all your cares disappear :)

Happy rolling!