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 .
×

[Pathfinder 1 Sheet] [Help] Is There a Better Way to Make Ability Macros for Attacks that Read the Sheet?

As the title states, I am trying to find a better way to make ability macros that read from the Official Pathfinder sheet. My players are currently having to remake all of their Attack macros every time they level by opening the sheet, rolling the macro, copying the macro code, then pasting into their character. This slows down every post level-up game because, understandably, somebody realizes that they never updated their 5 attack macros they use. After digging around, I found you could drag the attack from the sheet, into your macro bar. Which is great as it give *most* of the code. But the Pathfinder sheet delivers this long, complicated designator with no way to copy it. Example: %{selected|repeating_attacks_-M0noCtR8a68WuyZb2rs_fullattack} So, if I want to have my player set up with those macros, they have to drag the macros, then copy the designator one character at a time and hope for the best. Some of my player have 5 or more attacks and, while it would be one time fix, its a tedious one. Is there a better way to either get that designator, or get a code that directly reads from the sheet without the tedious copying? And pleae note that I am not asking for help in how to code it myself. I understand how it works, but my players do not and I do not have the time to troubleshoot all of their coding issues. Especially when the sheet already has the code built.
1595039602
GiGs
Pro
Sheet Author
API Scripter
There's a shorthand you can use: replace the long string of numbers and letters with $0, or $1, or $2, etc. $0 represents the first row in a repeating section, $1 is the second, $2 is the third. Yes, it starts at zero. So this would be the first attack: %{selected|repeating_attacks_$0_fullattack} and this the second %{selected|repeating_attacks_$1_fullattack}
1595047572
Kraynic
Pro
Sheet Author
If you have the available coin, you could also upgrade your account to pro, get the api script "Universal Chat Menu" (that can be found in the API forum), and make all those things show up in clickable lists in chat from token actions.  There are example global macro examples in that thread for the Pathfinder by Roll20 sheet.
GiGs said: There's a shorthand you can use: replace the long string of numbers and letters with $0, or $1, or $2, etc. $0 represents the first row in a repeating section, $1 is the second, $2 is the third. Yes, it starts at zero. So this would be the first attack: %{selected|repeating_attacks_$0_fullattack} and this the second %{selected|repeating_attacks_$1_fullattack} I've seen this in other forums, but it never worked for me. But I tried it this time and it actually works! I think its the $ sign that made the difference. Consider the problem solved!
1595078328
GiGs
Pro
Sheet Author
API Scripter
A long, long time ago, you didnt use the $ symbol, but they changed it at some point. This was years ago, though. Maybe you found posts referring to the old method. No matter, I'm glad it's working now!