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

Storing dice roll and feeding into table

Hi, new user here, been trying to set up a campaign but my players are kind of lazy. As soon as the character sheets are complete and the first real session comes around I'll be subscribing. Meanwhile, I'd be paying for nothing. Anyway, I'm trying to do something, which I'm beginning to suspect will need API access to solve. But just in case someone has encountered it before, I'll post here. I'm setting up macros and abilities for the game, which is DeathWatch. In it, after you have determined that an attack has succeeded, you roll on the hit location table. Or rather, you look up the result, because the roll is the same one you rolled for attacking, but read in reverse (eg. if you hit with a 53, you look up a 35). So, as far as I know, it is not possible - outside of the API - to store the result of a roll to reuse it in another expression. And, even if I queried the player to re-input the dice that was just rolled, I don't think I can just feed any number to a table roll, right? For all I can see, dice rolls are not involved publicly in a table roll resolution (they may be internally, but that would be just an implementation detail) Question: will I be able to do this once I subscribe for API access? I'm a developer, so I'm not afraid of dirtying my hands (actually, I'm intrigued by the API) thanks victor
You are correct. You would require access to the API to perform that kind of result manipulation. The API allows you to write javascript to interface with the VTT.