
I've searched and I've tinkered and I'm stuck. Using the "D&D 5E by Roll20" Character sheets I am trying to use a script to make updates to level, strength, and the other 5 basic attributes. var sheetInsp = findObjs({ type: 'character', name: 'character name' })[0]; var koreyValue = getAttrByName(sheetInsp.id,'strength'); returns what it should, the strength score. Same with any other attribute I try. However, I want to be able to update (set) them, so I add: var sheetSTR = findObjs({ type: 'attribute', characterid: sheetInsp.id, name: 'strength' }) [0]; However, var sheetValue = sheetSTR.get('current'); errors back as a get call to undefined. I've seen other examples that use this method and work. What am I missing?