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

Reference macro

I have a problem with a reference in the same macro. I want to make a weather macro and i want to have a table that will roll 1d20 degres(with recursive tables,thank Aaron!) and take the same result for the maximum temperature and the minimum temperature(-10 °C) ,right now im only able to roll the table 2 time !rt &{template:npcaction} {{rname= Weather }} {{name= Weather effects }} {{description= High: [[1t[degres]]] °C Low: [[1t[degres]]]  }} Thanks in advance
1587233635
GiGs
Pro
Sheet Author
API Scripter
This isnt actually possible. there's no way infor a macro to store a value for later reuse. Each use of [[1t[degres]]] will be a separate roll. You would need a custom API script just for this roll, or modify your table so it prints out both the high and low values on each table item.
Ok that why I was not finding a way to make it work :p Thank for the fast asnwer!