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

[Bug] Unable to access auto-calc field of repeating section

I searched thinking I read that this was fixed awhile back, but I cannot find the post now =\ Problem I am having is I am only able to access static values in a repeating section via the macros. The auto-calc fields is giving me "No attribute was found". For instance, in the HackMaster 5E character sheet, the weapon repeating section, I can access this static value: @{selected|repeating_weapon_0_base_weapon_speed} but not this auto-calc: @{selected|repeating_weapon_0_weapon_speed_mod_total}
I ran into something similar, I bet when the sheet closes and reopens, the auto-calc value will be forgotten until you trip a recalculation too. If it helps, <a href="https://gist.github.com/perkinslr/ab48d4d9dfcd6c7cb3d4" rel="nofollow">https://gist.github.com/perkinslr/ab48d4d9dfcd6c7cb3d4</a> this is what I use to work around these problems; you can copy the value= section out of the repeating section and call this in the API, it tracks down all the values and returns a string with real values substituted in for all the @{attrname} sections.
actually, Riley fixed the previous bug of the auto-calc field not keeping its setting.
Ah, good to know, I hadn't noticed since I worked around the problem and hardly actually look at the numeric values on the sheets. Oh, by the way, you probably should have listed this problem on the page with all the character sheet issues, since it's more likely for Riley to notice it there.
Well, we don't officially support accessing repeating values outside of their own repeating sections, so this isn't really a "bug" per se. I'll take a look and see if it's easy to implement, but no promises :-)
Hey Riley, any change? I would really like to access repeating values in other places in my sheet.