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

Auto Calculations not being put as attributes.

Do autocalcs not get put into the attributes panel? Also, for some reason, the auto calcs wont function unless the field is disabled. I thought I solved this issue, but I guess I was wrong.
1402815017
Paul S.
Sheet Author
API Scripter
The auto-calculated fields do have to be disabled in order to do their thing...I'll have to check again, but I thought my auto-calcd attributes were showing up in attributes pane. I'll check now....
1402815764

Edited 1402816039
Paul S.
Sheet Author
API Scripter
Confirmed - auto-calcd cells don't appear to cross over to attribute pane. And the name of auto-calcd fields isn't showing up when making macros and using @{... .meaning...when you start typing in the "Ability" box making a new macro and you type in the @{ and then a list of attributes begin popping up as you are typing... That doesn't happen..... But, the macros work none-the-less. ... Just have to get the name of the auto-calcd attribute by hovering over it on the char sheet. However, a cell that refs another attribute in the sheet shows up in the attribute pane as @{attribute-name}. And again, building macros off those works.
1402859541

Edited 1402859748
I don't use macros. They can't do the things I want them to do. I guess I have to make a bunch of hidden fields now just to make things work. Wish I would have know this a week ago when I started making a sheet. Also, mouse hover only works if you use the title property on the element.
1402860380
Paul S.
Sheet Author
API Scripter
Ah. Well yes. I use title by default on everything. Course some of my titles are a bit cryptic.
1402862136

Edited 1402862260
Well, this is annoying. I now have to redesign my whole sheet since using the hidden fields to reference the autocalcs still won't work.
Well I found out you can reference attributes in the API if they are not in the panel. So I guess I do not need to add anything I just need to use the autocalcs as 'read only' and in the script just do the calculation in a variable 'manually.' Not so bad, just more work on the API level.