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

Dex Modifier attribute not found

Hey, I was creating a macro to roll a d20 + the dex modifier but every time I try to use it, it tells me no attribute was found. This is the command I'm using: /roll 1d20 + @{selected|DexModifier} I've made sure to have a token selected and have that token linked to a character sheet. Could someone provide some help?
Does the Character Sheet has an Attribute called "DexModifier" ? Have a look at the "Attributes & Abilities" Tab to be sure.
1723570589

Edited 1723570600
Gauss
Forum Champion
Hi Faaris87,  Which character sheet are you using? If you don't know the name please supply a screenshot of the character sheet.
I'm using the D&D 5E character sheet
1723578103
Gauss
Forum Champion
Faaris87 said: I'm using the D&D 5E character sheet There are currently eight D&D 5e character sheets. Please post a screenshot so the sheet you are using can be identified. 
My bad, this is the one I'm using.
1723582297
Gauss
Forum Champion
That is the D&D 5e (2014) sheet, formerly known as the D&D 5e by Roll20 sheet.  You can find the modifier by hovering over it. In this case when you hover over the dexterity modifier "1" (in your screenshot) you will get a hover tooltip that says @{dexterity_mod} So what you want then is to add selected to that: @{selected|dexterity_mod}
Ah ok thanks a lot
Faaris87 said: Ah ok thanks a lot In addition to what Gauss said, if you want to know which variables are in use for a certain sheet, have a look at the "Atributes and Abilities" Tab of the sheet.
1723620007
Gauss
Forum Champion
TheMarkus1204 said: Faaris87 said: Ah ok thanks a lot In addition to what Gauss said, if you want to know which variables are in use for a certain sheet, have a look at the "Atributes and Abilities" Tab of the sheet. That won't work 100% of the time, there are lots of sheet attributes which are not on the Attributes and Abilities tab.