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

Obtain 3D dice results for API usage

Score + 52
October 06 (10 years ago)
Sam M.
Pro
Sheet Author
Currently, when 3D dice are rolled via API, their results are not retained and the API just rerolls them in the background. Being able to use the API at the same time as 3D dice without worrying about what I actually rolled would be awesome.
October 07 (10 years ago)
Alex L.
Pro
Sheet Author
I think I would rather be able to show a fake 3d dice from the API that rolls like a normal one but shows a number specified in the function call, letting you use the already available roll functions but represented as 3d dice on the table.
October 07 (10 years ago)
Sam M.
Pro
Sheet Author
The problem with that is the 3D dice are rolled with a physics engine, so telling it to roll a specific number would probably be a lot harder than just getting the number it rolled. The ideal solution would be to modify the current methods to take 3D dice into account so if they're used, the method waits to collect the result, and if they're not used then they roll like they do now.
October 07 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Well, technically, you could run the physics simulation, then set the faces such that the correct number is showing at the end, then play the physics simulation back for display. (That's how we'd do it in the video game industry. =D)
October 10 (10 years ago)
Falcon
Pro
Sheet Author
I like that Aaron. The reason I like the 3D dice is because it is as close to rolling as you virtually get. It's all about the physics engine.
January 09 (8 years ago)
Ulti
Pro
Sheet Author
API Scripter
In https://app.roll20.net/forum/post/2220114/client-side-3d-dice-dont-show-in-api-commands/?pageforid=2223514#post-2223514,
Riley suggested to provide the API with some "3D Dice replay" method, so that when the API rolls a dice, it has the option to show the corresponding 3D roll. I think that would solve the issue nicely.
May 18 (7 years ago)
Ulti
Pro
Sheet Author
API Scripter
Do we have any news on the 3D dice rolls? I've read somewhere that major changes were under development, but I can't find any first-hand source for that.
November 23 (7 years ago)
Ulti
Pro
Sheet Author
API Scripter
I tend to use the scripts more and more, so I nearly don't see any more 3D dices. Kind of sad, no?
June 18 (6 years ago)
Ulti
Pro
Sheet Author
API Scripter
Still no way to see 3D dices when the results are used by a script?
December 13 (6 years ago)
Ulti
Pro
Sheet Author
API Scripter

I like 3D dice, and want them when using scripts.

January 17 (5 years ago)
Ulti
Pro
Sheet Author
API Scripter

Maybe this should be tagged as API?

June 16 (4 years ago)
Stef
Pro
I agree with you. It's a great idea and I would be very happy to take advantage of it.
July 23 (4 years ago)
StéphaneD
Pro
Sheet Author
API Scripter

+1

July 23 (4 years ago)

+1

+1

Still no way to see 3D dices when the results are used by a script?

+1

September 02 (4 years ago)

I'm using more and more API, so I'm seing less and less 3D dice... I'm interrested to know if a 3Ddice API will be create so +1 

September 08 (4 years ago)

+1

+1 seeing the dice roll clearly is one of the exciting things on a table, and i strongly hope we can combine this with the advantages of a vtt in near future eg. store it for API usage...

+1 seeing the dice !

February 09 (3 years ago)

+1 seeing the dice


February 09 (3 years ago)

Showing the dices roll when players or DM make an attack will give more immersion into the game and will make roll20 a great apply

+1 Seeing the dice !

February 09 (3 years ago)

+1

February 13 (3 years ago)

+1 Please ! Seeing the dice !

May 04 (3 years ago)
+1 too, It's frustrating not to see the dice when rolling via API
June 10 (3 years ago)
Stef
Pro

Still no answer ?

October 24 (3 years ago)

+1

December 11 (3 years ago)
Jiboux
Pro
Sheet Author
Compendium Curator

+1 !!

December 01 (2 years ago)

+1

+1

October 19 (2 months ago)

Edited October 27 (2 months ago)
+1