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] How do i make macros to use with my tokens using the 5E OGL Sheet?

How do i set up macros using this sheet? I would need basic macros for all attacks, checks and saves. death saves etc... I would also need the characters name and picture displayed in the chat window! Also how do i get just one die displayed for everything except advantage/ disadvantage rolls?
Hover over names of attributes and skills and such. Anything on the OGL sheet that turns red can be clicked to send a roll to chat.
Sorry i meant how do i use them as token actions so i dont have to have the sheet open?
1. Click the roll you want to make into a macro. 2. Click in chat and hit the up arrow. 3. Copy and paste the text that shows up into a macro on the character sheet.
Thanks! One more question. Is there a fancier templete that can be used for this sheet? I like the pathfinder sheet display in chat. Anyway to get it to look better with borders?
Not really... you could use the npc templates on the OGL sheet. I prefer them. To get anything fancier, you or your GM would need to up your subscriptions to Pro and make your own templates or use an API script like PowerCards.
Ok i did what you said and made a basic attack macro but the character name doesn't display in chat. Everything else works fine.
In chat, you'll need to use the dropdown box beneath the chat window to select your character.
Thanks that worked. How do i make it so that the token selected displays the character name and shows the character portrait on the sheet? Here is the attack macro: @{Xanthor|wtype}&{template:atk} {{mod=+4}} {{rname=[Greataxe](~-KCrzJLtYV5mEAFGLH-n|repeating_attack_-KCvJtQG9tckAa4vRLR8_attack_dmg)}} {{rnamec=[Greataxe](~-KCrzJLtYV5mEAFGLH-n|repeating_attack_-KCvJtQG9tckAa4vRLR8_attack_crit)}} {{r1=[[1d20@{Xanthor|halflingluck}cs>20 + 2[STR] + 2[PROF]]]}} @{Xanthor|rtype}@{Xanthor|halflingluck}cs>20 + 2[STR] + 2[PROF]]]}} {{range=}} {{desc=}} ammo= @{Xanthor|charname_output}
If you turn on Chat Avatars under the settings tab, it should show the character avatar.
That works but i want a bigger image. How do i get this code to work with the one above? {{name= Xanthor!}} {{=[Image](<a href="https://s3.amazonaws.com/files.d20.io/images/16597174/5hlk4DLjfXncq9FGQunF1A/thumb.jpg" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/16597174/5hlk4DLjfXncq9FGQunF1A/thumb.jpg</a>)}}
I don't believe you can, using the default templates on the sheet.
Ok thanks again. It looks like i'll have to keep looking for something else then.
You're not going to find anything else without getting a plus or pro subscription and doing a custom sheet with roll templates or an api script.
You can do what you are looking for Brian with out any special account. To have the image come up you simlpy precede your macro with that on a separate line then on the next line of the macro have your attack template. [Image]( <a href="https://s3.amazonaws.com/files.d20.io/images/16597174/5hlk4DLjfXncq9FGQunF1A/thumb.jpg" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/16597174/5hlk4DLjfXncq9FGQunF1A/thumb.jpg</a>)} } @{Xanthor|wtype}&{template:atk} {{mod=+4}} {{rname=[Xanthor](~-KCrzJLtYV5mEAFGLH-n|repeating_attack_-KCvJtQG9tckAa4vRLR8_attack_dmg)}} {{rnamec=[Greataxe](~-KCrzJLtYV5mEAFGLH-n|repeating_attack_-KCvJtQG9tckAa4vRLR8_attack_crit)}} {{r1=[[1d20@{Xanthor|halflingluck}cs&gt;20 + 2[STR] + 2[PROF]]]}} @{Xanthor|rtype}@{Xanthor|halflingluck}cs&gt;20 + 2[STR] + 2[PROF]]]}} {{range=}} {{desc=}} ammo= @{Xanthor|charname_output} Then just Change rname to Xanthor and you are golden.
Wow thanks Ed! Almost what i want. Now if i could get the name of the weapon to display we are golden. Ultimately i would like the pic to display first then the character name then the code then the weapon name!
Even better would be to only display the attack roll not advantage/disadvantage i could make a seperate macro for that!
The advantage/disadvantage come from your sheet setting.
oh well! Nothing is perfect i guess.
1458082582

Edited 1458082805
Wes
Pro
Sheet Author
You can get the name of the attackroll its just a slightly different syntax calling the same thing. Its all based on what position the ability you want to use is on the list of repeating items, all repeating lists start counting from 0. So if you wanted a roll for your Greataxe and it is the first weapon on the list the macro would look like this: [Image](<a href="https://s3.amazonaws.com/files.d20.io/images/16597174/5hlk4DLjfXncq9FGQunF1A/thumb.jpg" rel="nofollow">https://s3.amazonaws.com/files.d20.io/images/16597174/5hlk4DLjfXncq9FGQunF1A/thumb.jpg</a>) @{selected|wtype}&{template:atk} {{mod=@{selected|repeating_attack_$0_atkbonus} }} {{rname=[@{selected|repeating_attack_$0_atkname}](~selected|repeating_attack_$0_attack_dmg)}} {{rnamec=[@{selected|repeating_attack_$0_atkname}](~selected|repeating_attack_$0_attack_crit)}} {{r1=[[@{selected|repeating_attack_$0_hidden_r1base}@{selected|halflingluck}cs&gt;@{selected|repeating_attack_$0_atkcritrange}@{selected|repeating_attack_$0_hidden_atkbonus} ]] }} @{selected|repeating_attack_$0_hidden_r2base}@{selected|halflingluck}cs&gt;@{selected|repeating_attack_$0_atkcritrange}@{selected|repeating_attack_$0_hidden_atkbonus} ]] }} {{range=@{selected|repeating_attack_$0_atkrange} }} &nbsp; {{desc=@{selected|repeating_attack_$0_atk_desc} }} @{selected|repeating_attack_$0_spelllevel} ammo=@{selected|repeating_attack_$0_ammo} @{selected|charname_output} *I used the selected in place of character name so you can use this for other characters and so other people can easily grab the macro code and have a macro without having to change the character name before using it. *If you dont have/want an attack description or it isnt a spell or you arn't worried about the range you can remove any of those attributes that are bolded &nbsp;to remove the Double lines in the template where the description would appear.
Thanks Wes but i know nothing of coding. I'm just really good at copying and pasting!
1458084053
Wes
Pro
Sheet Author
You bet. I should have mentioned, if the attack you want is not the first on the list, then just count down the list starting with 0 and replace the $0's with $x, where x is the number of the attack you want!
Thanks again Wes it took me a while but i finally got it working!
HoneyBadger said: 1. Click the roll you want to make into a macro. 2. Click in chat and hit the up arrow. 3. Copy and paste the text that shows up into a macro on the character sheet. What a wonderfully beautiful way to get the macros :&gt; !! &nbsp;I've been using my browser's "Inspect" feature on the buttons &lt;facepalm&gt; . &nbsp;Thanks&nbsp; HoneyBadger !
1458118758
Kryx
Pro
Sheet Author
API Scripter
FYI using the up arrow way will just give you the raw code and if the sheet changes in the future your code will not adapt to those changes.
You can work around this problem by adding a one (two for cleanup) additional step: 1. &nbsp;Drag the roll down to your macro bar. 2. Click the roll you want to make into a macro. 3. Click in chat and hit the up arrow. 4. Copy and paste the text that shows up into a macro on the character sheet. 5. Remove the roll from the macro bar. This will give you the exact sheet roll so that if the sheet is updated it will work perfectly.
Kevin said: You can work around this problem by adding a one (two for cleanup) additional step: 1. &nbsp;Drag the roll down to your macro bar. 2. Click the roll you want to make into a macro. 3. Click in chat and hit the up arrow. 4. Copy and paste the text that shows up into a macro on the character sheet. 5. Remove the roll from the macro bar. This will give you the exact sheet roll so that if the sheet is updated it will work perfectly. Awesome -- thanks!
Nice tip, Kevin ! I'll have to remember that one.