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

Nested Inline Rolls Update

1437507761
DK Heinrich
Marketplace Creator
Sheet Author
"We've just pushed out an update to the API Server which brings the dice engine up to date with the new Nested Inline Rolls update which rolled out today. So this permits you to create rolls which include nested inline rolls on the API Server." So this seems like I should be excited but my brain is not comprehending what it means... can anyone toss out an example so that I can truly be excited about it :)
1437508497

Edited 1437508537
Diana P
Pro
Sheet Author
Nested inline rolls are like: [[ d20 + [[@{dex-bonus}]] ]] it hides the calculations for the nested part of the roll so you see: [[d20 + 3]] instead of [[d20 + floor(dex/2 -5)]] Hope that helps. edit: they've been working on standard rolls for a while now, but the API had issues with them.  Now it shouldn't.  (Yay!!!!)
This is way cool, and so much easier to read!!
1437508882
DK Heinrich
Marketplace Creator
Sheet Author
ok, i gotcha. Thanks!
1437509793
The Aaron
Pro
API Scripter
In particular, it means that scripts which expand attributes to build rolls for you will now work with nested inline rolls.  I.e.: GroupInitiative!
1437510149
vÍnce
Pro
Sheet Author
The Aaron said: In particular, it means that scripts which expand attributes to build rolls for you will now work with nested inline rolls.  I.e.: GroupInitiative! I read that!  Thanks Aaron.  Time to go break GroupInitiative, again. Xp
1437511522
The Aaron
Pro
API Scripter
Ha! Bring it Vince!  GroupInitiative should work fine since you already were breaking it on the Dev server a month ago. Only scripts that make heavy use of the rolls via the API will get broken.