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

keeping values for other uses?

1588616669

Edited 1588619796
I'm trying to build a simple template that rolls two different types of dice, I need to keep them separated for evaluation, but I also would like a sum of the dice. &{template:default} {{name=Churchill VI: Eff. Rng: 30"}}  {{First Range Die (d12)=[[1d12]]}} {{Second Range Die (d20)=[[1d20]]}} I would like to sum up the first and second rolls for a sum range.  {{Combined Roll = First Range Die + Second Range Die}}  How to get the previous values? Thanks!
1588620453
GiGs
Pro
Sheet Author
API Scripter
There's no way to do this a free user. A Pro user could make a custom API script to do this, but it's not possible at the free level. Roll20's dice mechanics have some limitations - each roll is completely independent and cannot be used with other rolls.
Thank you
1588673525
Ziechael
Forum Champion
Sheet Author
API Scripter
If you only need the rolls for evaluation you can use the 'on hover' feature to see the results of the rolls when only presented with the total. Is there a reason you need them immediately visible (other than the convenience of not having to hover over the result which I can totally understand lol). Failing that you are limited to manual addition with both numbers visible independently. TL/DR - What GiGs said lol
1588688361
Kraynic
Pro
Sheet Author
One other option is not using the roll template.  Inline roll and using /r have slightly different behavior.  If you use /r, it will display both rolls and their total.  You would lose the labeling you have in the template, but that could probably be done with /em.  Maybe something like this would work for you: /em Churchill VI: Eff. Rng: 30": rolling first and second range in order /r 1d12+1d20
Thanks again, not really all that critical, players should be able to add the sum of a couple of dice.  But it was a nice chrome feature.