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

Help with Character Sheet linking to Attributes

Hey guys, excuse me if I'm in the wrong place, but I'm creating a custom sheet and I cannot find a way to link the values displayed in the character sheet to the ones linked in the Attributes&Abilities tab, I'm guessing naming the variables the same is not the way to go, do you need me to post anything to further understand my issue or would this suffice to point me in the right direction? >_<
1545156575

Edited 1545156740
vÍnce
Pro
Sheet Author
All attributes should show up in the Attributes & Abilities tab(also the token attribute drop-down list) and automatically sync unless they are repeating and/or hidden attributes which need to be directly called using row# or id. So, are you manually creating attributes in the Attributes & Abilities tab and you want to use those attribute values for other "on-sheet" calculations/rolls?
1545156865
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
In addition to Vince's points, I've got a question. Are you trying to take a character that was made without a character sheet (just using the attributes/abilities tab) and then link those values to the character sheet? I'm not sure that that will work. Otherwise, as vince said, any visible non-repeating attribute created in the html is added to the attributes/abilities tab. This can actually be frustrating sometimes as there's plenty of attributes that really don't need to be shown there (like for example attributes controlling what tabbed view is shown).
Well, this was from an empty sheet start, as I didn't want anything too complex, I thought I could try doing my own, I even had formulas to use on this and that, however, I cannot intertwine any of the stats in "Character Sheet" tab with the ones in "Attributes&Abilities"(which started off empty btw), I'm not sure if I have to change something on the html or what I'm missing. I don't get what you mean by dropdown list as I don't have any I think(bear with me please, as I'm pretty new at this), but I am basically attempting to make it so that the Character Sheet's Strength on the sheet tab intertwines with the Attributes&Abilities equivalent. Anywhere I can search for this ID or hidden attributes?
Scott C. said: In addition to Vince's points, I've got a question. Are you trying to take a character that was made without a character sheet (just using the attributes/abilities tab) and then link those values to the character sheet? I'm not sure that that will work. Otherwise, as vince said, any visible non-repeating attribute created in the html is added to the attributes/abilities tab. This can actually be frustrating sometimes as there's plenty of attributes that really don't need to be shown there (like for example attributes controlling what tabbed view is shown). No, I'm attempting to make a raw sheet where I can build my own homebrew, I have no characters done yet, just attempting to use a test character to modify values and see what moves and what doesn't from what's been coded so far
1545157086

Edited 1545157407
vÍnce
Pro
Sheet Author
You will not see the attributes show up on the  Attributes & Abilities tab until you begin filling in your sheet.  Would you mind sharing the input code for your Strength? example; Strength:<input type="number" name="attr_strength" value="10" />
Vince said: You will not see the attributes show up on the  Attributes & Abilities tab until you begin filling in your sheet.  Would you mind sharing the input code for your Strength? example; Strength:<input type="number" name="attr_strength" value="10" /> It would be Strength: <input name="strength" type="number" value="0"><button type="roll" value='/roll 1d20 + @{strength}'></button>
1545158145

Edited 1545158558
vÍnce
Pro
Sheet Author
Diogo P. said: It would be Strength: <input name="strength" type="number" value="0"><button type="roll" value='/roll 1d20 + @{strength}'></button> You almost had it.  You just need to include "attr_" ( more info on wiki ) for all your input attribute names otherwise they will not be created.  ;-)  You should also include a name for your button rolls.  That way you can drag/drop your sheet rolls to the quickbar and/or call the roll directly from macros. Lot's of great info here:  Building Character Sheets Cheers
Vince said: Diogo P. said: It would be Strength: <input name="strength" type="number" value="0"><button type="roll" value='/roll 1d20 + @{strength}'></button> You almost had it.  You just need to include "attr_" ( more info on wiki ) for all your input attribute names otherwise they will not be created.  ;-)  You should also include a name for your button rolls.  That way you can drag/drop your sheet rolls to the quickbar and/or call the roll directly from macros. Lot's of great info here:  Building Character Sheets Cheers That's where I was basing myself off, but either due to lack of understanding or just poor sight, I couldn't quite comprehend how to, so I kinda decided to open this thread, since everything else seemed to be going how I wanted it to. Thanks for the help, hopefully I'll be able to fix everything with that missing piece!
1545160091
vÍnce
Pro
Sheet Author
No worries.  Keep asking questions when you get stuck.  Lot's of helpful people here.