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

getSectionIDs help


Edited 1515592631
Sheet Author
Compendium Curator
Is it possible to get section IDs for multiple repeating sections in one call? something like: on(“change:repeating_sectiona change:repeating_sectionb”, funtion() { getSectionIDs([“sectiona”,”sectionb”], function(idarray) { //do stuff }); }); If it is possible to do something like this, how would I get the number of ids in each repeating section? I tried idarray.sectiona.length, but that didn’t work, so I’m not sure if it’s not possible, or I’m just doing something wrong... Thanks for your help.
Sheet Author
API Scripter
Not possible (though you could write a wrapper function that does that).