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][5e OGL] Official-looking macros templates for attacks and spells

1476680066

Edited 1476680088
Bear
Pro
I am trying to set up a bunch of different macros so I don't have to search my character sheet all the time, but I want them to have the "official" looking template, particularly for attacks where the attack roll comes up first, and then you click the weapon name to roll the damage after. e.g.   Does anybody know how to make macros look like that? Or is there a way to make a macro roll something specifically from the "Attacks & Spellcasting" box on the character sheet? The sheet is OGL, as it says in the title. Thanks!
1476681876
Tetsuo
Forum Champion
You just need to use the roll templates. Check these wikis for details. General roll template wiki: <a href="https://wiki.roll20.net/Roll_Templates" rel="nofollow">https://wiki.roll20.net/Roll_Templates</a> OGL template details: <a href="https://wiki.roll20.net/5e_OGL_roll" rel="nofollow">https://wiki.roll20.net/5e_OGL_roll</a>
1476704883

Edited 1476705033
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Also, if you aren't changing anything in the attack, save, etc you can simply call the associated ability. <a href="https://wiki.roll20.net/Macros#Nesting_Abilities" rel="nofollow">https://wiki.roll20.net/Macros#Nesting_Abilities</a> <a href="https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#" rel="nofollow">https://wiki.roll20.net/5th_Edition_OGL_by_Roll20#</a>... The sheet's wiki has lots of great info this, the above link is specifically about referencing the repeating abilities. You can also drag and drop any of the click able hyperlinks onto your macro bar at the bottom of your screen if you have it turned on. Also make sure your character sheet isn't popped out when doing this.
1476705768
Kryx
Pro
Sheet Author
API Scripter
Is that what OGL macros look like now?
1476707260
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yep, for PC rolls at least, the ogl template wiki Franky linked to has all of them shown (if you hadn't looked already)
1476709791

Edited 1476709811
Kryx
Pro
Sheet Author
API Scripter
The live version of and the wiki have straight lined borders. The OP of this thread has stylized borders similar to the paper sheet. I presume the OP edited the image?
1476710338
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hmm, didn't even notice that. I'd guess either stylish (or similar add on) or I believe that the SKT version of the sheet has some different looks, so maybe it is that.
1476711221
Tetsuo
Forum Champion
As far as I can tell, the SKT version of the sheet has a different templating than the default OGL sheet. Thats.... off putting. I want to know how to use the SKT sheet's templating in my non-SKT games. (I just went into my skt game, then created a non skt game and the templates are definitely different.
1476711261
Kryx
Pro
Sheet Author
API Scripter
Does the OGL version for SKT have different styling? I'd be very curious if this is real. I'd love to do something similar on Shaped.
1476712336
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
yep, it does as far as I know. I don't have the module myself, but I could swear I remember someone posting about it in the SKT release thread. I thought it was just the sheet; different background and what not. Had no idea it extended to the templates as well. Also, sorry for hijacking your thread Ursa. Please let us know if you need any further help.
TBH, I'm not tech savvy so I don't know what the SKT is. @Kryx, no, thats a screencap directly from the chat of a campaign I'm in. I want to be able to hit a macros button and have it literally just pop up the attack/ability in that format as if I had clicked it off my sheet, i.e. what I think Scott C referenced in his first post on this thread. I don't suppose any of you could walk me through how to do that a little more in detail? I'm looking at the page Scott C posted but the directions are unclear to me
So I kinda figured it out. You can use the following macro to reference attacks in your "attacks & spellcasting" based what number they are. It is dependent on how they are ordered, so if you change how the attacks/spells are ordered you need to redo the macro, but you basically just need to count and change the number appropriately(the first attack is 0, so count the position and then subtract 1 for the number to put in the macro). %{selected|repeating_attack_$0_attack}
I guess I'm still trying to figure out how to reference abilities like perception also. I found the macro:&nbsp;%{Selected|Perception}, but it keeps working only the first time I use it and then every time after it just says the text of the macro. Any ideas?
1476728564

Edited 1476728586
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
SKT is the abbreviation for Storm King's Thunder, the WotC adventure. The roll20 module has a different sheet look than the standard OGL sheet, but it is only cosmetic (AFAIK). Is your group playing SKT? Can you post the text of the macro you are using to call %{selected|perception}?
Thanks for the clarification. That was the specific macro that I used. I literally just put in the following: %{selected|Perception} I based that on info found&nbsp; here and&nbsp; here (and I think one more that I can't seem to find). After putting that Macro in, the first time I tested it the box would come up, but after it would just spit out the text of the macro. See the screenshot below:
1476732137

Edited 1476732231
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hmmm, that's looking like it is potentially a bugged chat, there's no reason why it should work once and then not work. What happens if you click the perception roll button on the sheet? and what happens if you just type %{selected|perception} into the chat pane? if those two work, then I'm not sure what's up, maybe a spare space snuck it's way in somehow? Also, it shouldn't matter, but try it with all lower case. The calls are supposed to be case IN sensitive, but who knows. EDIT: Oh, and also, what did you name the ability that you put the call to perception in? if you named it perception, it might be confusing the chat parser on which ability to call.
Your edit cracked the case. I named the ability "Perception," and that is what seemed to be the issue. I changed it to "Perceive" and it's working perfectly now. Also tried it with stealth and survival rolls, and the same thing happened if I just used the same name. Changed "Stealth" to "Sneak" and "Survival" to "Survive" and they now work perfectly. Thanks for the help!
1476734494
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
glad to hear, happy rolling. Also, as added information, you can drag any of the sheet's roll buttons down to your macro bar at the bottom if you have it turned on.
Oh cool! Do you know how to delete ones that have been dragged down from the macros bar? I dragged one to test it but can't seem to delete it, and they don't appear in the macros sidebar menu : p
1476752011
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Drag it up onto the tabletop by the handle on the right side of the button
cool, thanks!