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

[5e OGL] API/Macro question

ok so we have ammo tracking working on our D&D 5e OGL sheets. what we want to do is then make a macro (example: for the shortbow) so the guy can just click the marco button to roll. we can make one that just rolls what the shortbow dose but then its not going to take an arrow off. so can anyone help with this?
1472701520
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I think what you want is explained at the bottom of the OGL wiki page.&nbsp; <a href="https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#" rel="nofollow">https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#</a>... If that doesn't help, let me know. Scott
no we have that set, if you roll it from the sheet it works. we just want to know if we can make a macro that rolls off the sheet so he can click the macro and it rolls his bow (from his sheet) so the ammo tracker still works
1472702126

Edited 1472702528
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Ahhhhh, I'm on the same page now. You can drag the attacks/spells to your macro bar(EDIT:assuming your char sheet is not popped out; I've also noticed it can sometimes glitch - just close and reopen to try again in this case), or you can make an ability on the character sheet to call the attack as a token action by putting %{repeating_attack_$X_attack}. Take a look at the dynamic references to repeating attributes section of the Wiki for all the other repeating sections you can reference:&nbsp; <a href="https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#" rel="nofollow">https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#</a>...
1472702419

Edited 1472702592
Thank you so much, you have helped so much&nbsp;
1472702613
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
just drag them off by the handle on the right side of the button; you can also re position them this way. You can also right click on them and rename them or change their color.