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

Getting Weight Value From Sheet

1607032711

Edited 1607033234
Nick
Plus
Is there a way to get the total weight from the Roll20 DND 5e sheet for use in a macro? I do not see it anywhere in the attributes section. Edit: I mean the carried equipment weight.
1607033936
Kraynic
Pro
Sheet Author
If you should be able to right click the field and select "Inspect Element", it should bring up the browser console with that bit of html highlighted.  You are looking for the name section of the html line, like name="attr_attributenamehere".  You drop the attr_ bit and use everything else in your attribute call:  @{attributenamehere}.
1607034067
The Aaron
Roll20 Production Team
API Scripter
In this case, it's @{selected|weighttotal} Usually they have a hover text to tell you what it is, but that one appears to be missing.