Since the repeating section Roll20 Update, i've got an error with my API scripts when I use the following code :
origarmor=getAttrByName(originchar_id, "repeating_armor_$0_ArmorNotes");
"Error: No attribute or sheet field found for character_id -Jo4rw4Mf1ZXtV7emDZV named repeating_armor_$0_ArmorNotes"
When i use a macro with @{selected|repeating_armor_$0_ArmorNotes} i get the correct value.
Before the Roll20 Update, i used this code and it worked :
origarmor=getAttrByName(originchar_id, "repeating_armor_0_ArmorNotes");
origarmor=getAttrByName(originchar_id, "repeating_armor_$0_ArmorNotes");
"Error: No attribute or sheet field found for character_id -Jo4rw4Mf1ZXtV7emDZV named repeating_armor_$0_ArmorNotes"
When i use a macro with @{selected|repeating_armor_$0_ArmorNotes} i get the correct value.
Before the Roll20 Update, i used this code and it worked :
origarmor=getAttrByName(originchar_id, "repeating_armor_0_ArmorNotes");