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

Just wondering...still no 3d dice?

Still no 3d dice on API commands sent via "sendChat" command? Is this on the list of things to add? It does seem corny but we really love the 3d dice it helps get the feel of the table top. So just wondering if it will be added
1589748637
The Aaron
Roll20 Production Team
API Scripter
It is possible, but it's a large pain on the API development, and hard to get right for anything remotely complicated.  I recently added support to the Tagmar script.  It more than doubled the number of lines of code and has some unfortunate side effects.(empty seeming messages in chat),  in addition to making the internal logic much more complicated (it necessitates deferred processing of commands/events and requires some shenanigans to make the dice show up the way you want and in the colors you want) and it slows down processing the script because of needing to wait on the dice to finish rolling.
Ok seems weird to me that the " sendChat" does not work like actually sending a chat. If it is really hard and causes performance issue I will attempt it. But maybe in the future :) it is a nice to have. Thanks for the reply The Aaron
1589817447
The Aaron
Roll20 Production Team
API Scripter
No problem!