I have an attribute, named fIDA, with a value set to the row ID of the firstmost repeating row (achieved with sheet worker scripts, and that seems to be working fine). However, I always get undefined whenever I attempt to use this row ID when getting another attribute in the row with findObjs(): let fIDA = findObjs({ characterid: attacker.id, name: "fid"})[0];
log(fIDA)
let UsesA = findObjs({ characterid: attacker.id, name: "repeating_weapons_"+fIDA.get("current")+"_Uses"})[0];
log(UsesA)
//attacker is a character object that I've used for several other attributes and confirmed is valid Which returns: {"name":"fid","current":"-l05pfz3iubzuqslklnz","max":"","_id":"-L1oSDbBeP_8zPEHyndP","_type":"attribute","_characterid":"-L-wW5DNHeTq46wpudNZ"} //This is fine
undefined I've also tried using "repeating_weapons_$0_Uses" as suggested in another post, but that doesn't seem to be working either.