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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Is there a way to get the code of embedded macros? For example, I would like to get the code for the Pathfinder full-attack macro: specifically, I would like to know what are the fields for the extra attacks names.
Usually if you right-click on the button/link to roll it, you can choose to Inspect Element. In the 5E by Roll20 sheet that shows the macros in the details (although it's sometimes hard to parse given the mass amounts of lines in there). so I'd hope the Pathfinder one does as well.
If you follow Dakota's suggestion about Inspecting elements, you'll see something like this: You'll see a button selected, and the section inside value="" has the full macro. If it's in a repeating section, some of those names might not be complete (they'll like the repeating section name and row id), but if you just need template field names, you'll be able to easily get them this way.
What I do is I use the embedded macro, then highlight the area where you type messages/command in chat section on the right and press the up arrow cursor. this shows the last run macro/roll run (you can navigate up and down the run macros/rolls. Hope it works for you in the example below I click on the Strength saving throw then got the code for it
Warren Harvey said: What I do is I use the embedded macro, then highlight the area where you type messages/command in chat section on the right and press the up arrow cursor. this shows the last run macro/roll run (you can navigate up and down the run macros/rolls. This is great when it works, but doesnt always work for rolls from character sheet buttons - they'll sometimes just show the macro command to call that ability. So knowing how to use the browser inspector is very handy.