This doesn't seem to work for whatever reason when I have tried this. This is straight from the wiki on the getAttrs() function: If the event that you are inside of is already inside of a repeating section, you can simply request the variable using its name prefaced by the repeating group name and you will receive the value in the same repeating section the event was triggered in. on("change:repeating_spells:spelllevel", function() {
getAttrs([
"repeating_spells_SpellDamage",
"repeating_spells_SpellName"
], function(values) {
//values.repeating_spells_SpellDamage and values.repeating_spells_SpellName
//will both be from the same repeating section row that the SpellLevel that changed is in.
});
});
I've tried this in my own repeating sections and it has never worked. For example, I have a repeating section for an item. Inside that item it has a name, tags, damage, armor, weight, and value. I detect the change event like above on the repeating section and then using getAttrs I should be able to reference any other attribute in the row using getAttrs right? That doesn't seem to be the case.. am I missing something here? Is there an ${id} for the repeating row that needs to be thrown in there for the getAttrs call? Thank you for any help provided.