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

Set character name via sheetworker

1510898570
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Anyone know if this is possible? I'm working on some statblock import functionality for my sheet and it'd be nice if I could just set the whole thing at once.
1510942719
Finderski
Pro
Sheet Author
Compendium Curator
Don't know why you couldn't...it's just an attribute: attr_character_name So, I'd think you could just as easily setAttrs on that like any other attribute.
1510945093
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Yeah, that's what I would have thought as well, but it doesn't work.
1510945695
Lithl
Pro
Sheet Author
API Scripter
Hmm... I thought this used to work. My Arkham Horror sheet tries to do it: <a href="https://github.com/Roll20/roll20-character-sheets/" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/</a>... But I just tried Arkham Horror again, and the name doesn't change. And the description on the sheet says that it won't change.
1510951054
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Ok, then I'm gonna submit a bug report for it, can't see a reason why this shouldn't work
1511189903
chris b.
Pro
Sheet Author
API Scripter
it's never worked AFAIK I assumed it was deliberate and they didn't want people updating it. so on the pathfinder sheet, when you drag a monster to the import section, it's the actual &lt;input type="text" name="character_name" value="" accept="xyz" /&gt; that you update, so the drag updates it, not the worksheet.