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

Macro roll template to only show result

Hey, my problem is somewhat difficult to explain so i'll try my best to make it somewhat understandable. I'm trying to have a Macro execute as soon as i press "Currency" I'm trying to make it pick a random Currency Orb by 1d4 where i want to add weight depending on the Currency. I am currently getting this though where it shows everything. Instead i would love to simply show the result only like this: As a separate measure, i made a Rollable table with all 4 currencies and modifided the weightings, however using that Method, i'm not able to display the Picture for that Currency when rolling it via the Quick Bar. The Current Code is &amp;{template:default} {{name=Currency Drop}}{{[[[1d10]]](#)=}}{{[Transmutation Orb][(#)=](<a href="https://i.imgur.com/X9nlxlB.png" rel="nofollow">https://i.imgur.com/X9nlxlB.png</a>)}} {{[Chaos Orb][(#)=](<a href="https://i.imgur.com/u1yGdfG.png" rel="nofollow">https://i.imgur.com/u1yGdfG.png</a>)}} {{[Divine Orb][(#)=](<a href="https://i.imgur.com/dPYAd7g.png" rel="nofollow">https://i.imgur.com/dPYAd7g.png</a>)}} {{[Exalted Orb][(#)=](<a href="https://i.imgur.com/GAfHOex.png" rel="nofollow">https://i.imgur.com/GAfHOex.png</a>)}}
1630921154

Edited 1630921271
Andrew R.
Pro
Sheet Author
Kozeyg R. said: I'll soon be using roll20 to play a 13th Age game. The available premade character sheet templates are pretty good, but my problem is with things like flexible attacks, where I need to be able to see the 'bare roll' as well as the result. How can I set up a macro or template to output the natural roll and the final roll as different results? Even if the output was as simple as "Full roll: 25. Natural roll: 16." You can't do that without using the API and a script like ScriptCards. The game Creator needs a Pro subscription for that. I've been running 13th Age on Roll20 since 2014 and we've always moused over the roll result to check for flexible attacks, etc.,
1630941654

Edited 1630957674
GiGs
Pro
Sheet Author
API Scripter
There is a way to show both using the Reusing Rolls method, but is even more clunky. You can do something like &amp;{template:default} {{name=@{selected|character_name} CHA vs Defense}} [[ [[1d20]] + @{EDie|Value}+@{selected|Level}+@{selected|CHA-mod}]] {{Roll=$[[0]]}} {{Result=$[[1]]}} Notice that it's all on one line. A rolltemplate is needed to hide the working.
1630953715

Edited 1630953900
GiGs said: There is a way to show both using the Reusing Rolls method, but is even more clunky. You can do something like &amp;{template:default} {{name=@{selected|character_name} CHA vs Defense}} [[ [[1d20]] + +@{EDie|Value}+@{selected|Level}+@{selected|CHA-mod}]] {{Roll=$[[0]]}} {{Result=$[[1]]}} Notice that it's all on one line. A rolltemplate is needed to hide the working. Ehm i do have to select a Token to use this though don't i?&nbsp; I am trying to avoid exactly that though as i want to use the Quick Bar.
1630953728

Edited 1630953740
Andrew R. said: Kozeyg R. said: I'll soon be using roll20 to play a 13th Age game. The available premade character sheet templates are pretty good, but my problem is with things like flexible attacks, where I need to be able to see the 'bare roll' as well as the result. How can I set up a macro or template to output the natural roll and the final roll as different results? Even if the output was as simple as "Full roll: 25. Natural roll: 16." You can't do that without using the API and a script like ScriptCards. The game Creator needs a Pro subscription for that. I've been running 13th Age on Roll20 since 2014 and we've always moused over the roll result to check for flexible attacks, etc., Wrong Thread?
1630957609

Edited 1630957745
GiGs
Pro
Sheet Author
API Scripter
Kamuixmod said: GiGs said: There is a way to show both using the Reusing Rolls method, but is even more clunky. You can do something like &amp;{template:default} {{name=@{selected|character_name} CHA vs Defense}} [[ [[1d20]] + +@{EDie|Value}+@{selected|Level}+@{selected|CHA-mod}]] {{Roll=$[[0]]}} {{Result=$[[1]]}} Notice that it's all on one line. A rolltemplate is needed to hide the working. Ehm i do have to select a Token to use this though don't i?&nbsp; I am trying to avoid exactly that though as i want to use the Quick Bar. I didnt realise you were avoiding use of tokens. The only ways to do that are: a) use the characters name, like &amp;{template:default} {{name=Billy's CHA vs Defense}} [[ [[1d20]] + @{EDie|Value}+@{Billy|Level}+@{Billy|CHA-mod}]] {{Roll=$[[0]]}} {{Result=$[[1]]}} b) put the macro in the character's Abilities section, and you can skip the selected part (it's draw values from the owning character): &amp;{template:default} {{name=@{character_name} CHA vs Defense}} [[ [[1d20]] + @{EDie|Value}+@{Level}+@{CHA-mod}]] {{Roll=$[[0]]}} {{Result=$[[1]]}} PS just noticed I have two +'s in the expression - correcting that. PPS it looks like my earlier reply might have been to the wrong thread - sorry if this isn't helpful to you!
1630961376

Edited 1630961403
GiGs said: Kamuixmod said: GiGs said: There is a way to show both using the Reusing Rolls method, but is even more clunky. You can do something like &amp;{template:default} {{name=@{selected|character_name} CHA vs Defense}} [[ [[1d20]] + +@{EDie|Value}+@{selected|Level}+@{selected|CHA-mod}]] {{Roll=$[[0]]}} {{Result=$[[1]]}} Notice that it's all on one line. A rolltemplate is needed to hide the working. Ehm i do have to select a Token to use this though don't i?&nbsp; I am trying to avoid exactly that though as i want to use the Quick Bar. I didnt realise you were avoiding use of tokens. The only ways to do that are: a) use the characters name, like &amp;{template:default} {{name=Billy's CHA vs Defense}} [[ [[1d20]] + @{EDie|Value}+@{Billy|Level}+@{Billy|CHA-mod}]] {{Roll=$[[0]]}} {{Result=$[[1]]}} b) put the macro in the character's Abilities section, and you can skip the selected part (it's draw values from the owning character): &amp;{template:default} {{name=@{character_name} CHA vs Defense}} [[ [[1d20]] + @{EDie|Value}+@{Level}+@{CHA-mod}]] {{Roll=$[[0]]}} {{Result=$[[1]]}} PS just noticed I have two +'s in the expression - correcting that. PPS it looks like my earlier reply might have been to the wrong thread - sorry if this isn't helpful to you! I don't believe that i can do anything with what you've posted so far as i'm trying to roll 4 Currencies as mentioned above with it only showing one of the 4 currencies it rolled with the correct picture at the same time.
1630962795

Edited 1630962826
GiGs
Pro
Sheet Author
API Scripter
Kamuixmod said: I don't believe that i can do anything with what you've posted so far as i'm trying to roll 4 Currencies as mentioned above with it only showing one of the 4 currencies it rolled with the correct picture at the same time. Sorry about that - I think roll20 glitched and I responded to the wrong thread (posisbly just like the person before me, if that's not a bot). I copied the roll expression I replied with directly from the post I thought I was replying to, and it somehow got posted into your thread.
Ok i actually managed to solve it myself by using &amp;{template:default} {{name=Currency Drop}} {{[ [[ ](<a href="https://rotf.lol/Currency[[1t[Currency]]]#.png" rel="nofollow">https://rotf.lol/Currency[[1t[Currency]]]#.png</a>)}} It rolls the Icon now
1630974968
GiGs
Pro
Sheet Author
API Scripter
Congratulations!