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 .
×

Beginner without knowledge

1678870747

Edited 1678872161
Hi, sorry to bother, not sure if i'm in the good place : / I'm trying to make a macro for a custom rule in Hawkmoon. But even after reading wiki it seems a bit too hard for me :( i want my macro to roll a 1d12 (easy #roll 1d12) and for each result i want my macro to tell if 1-2 right arm if 3-4 left arm if 5-7 torso if 8-9 right leg if 10-11 left leg if 12 head I thought it would be pretty simple, but not for me :( sorry for my english, not my first language :s
1678878054

Edited 1678878088
David M.
Pro
API Scripter
The simplest solution would be to use a rollable table . Add 6 items with the locations listed above, each weighted appropriately. For example, right arm has a weight of 2, torso a weight of 3, head a weight of 1, etc. To "roll" on the table, add the following inline roll to your macro [[1t[tableName]]] You can add it to a template associated with your character sheet if you want, or use the default template, for example: &{template:default} {{name=Random Location}} {{Location Rolled=[[1t[tableName]]]}}
1678887956
GiGs
Pro
Sheet Author
API Scripter
To build on david's post: there is no way to do what you want without either being a Pro subscriber (and using scripts) or using a Rollable Table. Roll20 dice are expressly not capable of returning table results.
Thanks for your reply ! Too bad it seems a bit too complicated for me mostly because i don t have the time to learn how all of this works : /
1678892237

Edited 1678892262
David
Sheet Author
Hubert said: Thanks for your reply ! Too bad it seems a bit too complicated for me mostly because i don t have the time to learn how all of this works : / &nbsp;&lt; 5&nbsp; minutes&nbsp; <a href="https://www.youtube.com/watch?time_continue=30&amp;v=uuwagS5vcIE&amp;embeds_euri=https%3A%2F%2Fwww.google.com%2F&amp;feature=emb_logo&amp;ab_channel=Roll20" rel="nofollow">https://www.youtube.com/watch?time_continue=30&amp;v=uuwagS5vcIE&amp;embeds_euri=https%3A%2F%2Fwww.google.com%2F&amp;feature=emb_logo&amp;ab_channel=Roll20</a>
will look, thanks ! :D