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

I can use my custom attribute with token bars

I want to make a attribute for the token bars for a sp meter for my persona campaign so it can change with every token on any map when I change it kinda like the hp, but when I make the custom attribute I cannot set it in the token bars on tokens. Could someone help please 
1740383734
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Winter :3! Hm. I would have thought for sure that was possible. What sheet is this? If it's the D&D 5e (2014) Sheet, then you can link to one of the first two resource fields. If it's the D&D 5e (2024) Sheet, you'd hve to look for one of the exposed attributes that isn't being used. Not sure how much luck you;'d have there. Same with any of the other sheets, you'll have to find an available attribute you don't want to use for anything else. Not all attributes can be linked. This will take experimentation.
1740383786
Gauss
Forum Champion
Hi Winter :3,  Which character sheet are you using? If you don't know the name please supply a screenshot.  Additionally, a screenshot of your custom attribute might help. 
The sheets I'm using is D&D 5e (2024)
1740388357

Edited 1740388398
Gauss
Forum Champion
Please open the character, click Advanced Tools, then click Attributes and take and post a screenshot. 
1740390151
GiGs
Pro
Sheet Author
API Scripter
Also, how are you creating the attribute?
 This is what the attribute looks like 
keithcurtis said: Hi Winter :3! Hm. I would have thought for sure that was possible. What sheet is this? If it's the D&D 5e (2014) Sheet, then you can link to one of the first two resource fields. If it's the D&D 5e (2024) Sheet, you'd hve to look for one of the exposed attributes that isn't being used. Not sure how much luck you;'d have there. Same with any of the other sheets, you'll have to find an available attribute you don't want to use for anything else. Not all attributes can be linked. This will take experimentation. I can't test the beacon 2024 sheet right now, but at least outside that, you can link custom attributes to token bars - no need to repurpose an existing attribute. Repeating rows can't be linked, though - not without breaking stuff and causing permanent damage to the sheet. That said, the 2024 sheet is weird with attributes. If no-one gets to it before then, I'll check on this tomorrow. 
1740444288
Gauss
Forum Champion
Winter :3 said:  This is what the attribute looks like  Please don't crop your screenshots, it removes valuable context. Please provide a full screenshot of your Attributes. 
Alright, I checked and reproduced the issue, the Beacon sheet does not allow custom attributes to be linked to token bars. That's another strike for those sheets, I think I've lost count by now how many that is. But, you can link it to no attribute, fill the values manually, and call for the token bar values in macros if needed - for example, @{selected|bar2}/@{selected|bar2|max} (not that the order the bubbles show above the tokens is 1,3,2, not 1,2,3, so bar2 is the rightmost bubble).
1740496541
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I think the OP is asking for an attribute so that it can be tracked across instances: multiple tokens that all reference a common value. Unlinking the bar wouldn't help here. And I agree that it's a failing of the Beacon sheet and should be reported.
1740522308
timmaugh
Forum Champion
API Scripter
This was mentioned back on Jan 4th on the Roll20 Discord , but I don't think the Devs chimed in on that conversation to acknowledge the problem. I second-ify (third-ify?) the "file a ticket" suggestion.
How would I file a ticket? because it would be amazing if this was fixed I don't want to keep changing all the counter manually on every map or copying and pasting tokens just to get the SP counter correct
1740615024
Gauss
Forum Champion
Hi Winter :3,  You can file a bug report via the Help Center . You can navigate to that via the Community dropdown at the top of the page. 
Still doesn't work :(
Also want to bump this. User defined attributes still can not be linked to the token bubbles. Trying to create a crew compliment tracker for a spelljammer game. I can see "user:crew" in the attributes, but the dropdown menus for the bubbles on the token do not have it, even after saving, syncing, and then pulling a new token onto the map. I am using a JumpGate table and the DnD 2024 sheets.
1746146240

Edited 1746150418
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I don't think you are going to be able to link a custom attribute to a bar on the Beacon sheet. The link list is formed very differently, and is basically a case of the Devs only revealing a handful of exposed attributes. I have lobbied for Speed to be added since they first started exposing them for instance, and still it is not linkable. I just experimented, and it is also unable to be linked via the Token Mod API script. Though the values in the bars can be set to the value of a user-defined Attribute, that's just the data. It's not a link.