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

Add values from different rows

Regarding roll templates, is it possible to have two values that are on different lines? If so, what is the correct syntax? For example: &{template:default}{{name=test}}{{Value1 =?{Choose value--|1|2|3}}}{{Value2=?{Choose value=|4|5|6}}}{{Total=Value1+Value2}}
1567427744
Ziechael
Forum Champion
Sheet Author
API Scripter
You just need to recall your queries again, but you only need the query 'question' to repeat the value... if this contains dice rolls it likely won't be the same result each time it is called though... &{template:default}{{name=test}}{{Value1 =?{Choose value--|1|2|3}}}{{Value2=?{Choose value 2=|4|5|6}}}{{Total=[[?{Choose value--}+?{Choose value 2=}]]}}
Thank you, I managed to solve with your help!