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 .
×

[API Questions] before i grab mentorship i would liek to know if.....

Can API scripts.... Create Handouts and Charactersheets for NPC's from a Document On My PC ? (preferably a spreadsheet or database) Archive ^ said Handouts and Charactersheets ? Create Attributes (fill in character sheet fields) and Abilities (Macros and Token Actions) from a Document On My PC ? (preferably a spreadsheet or database) Assign Images from the Web or My PC to the charactersheet Bio Portrait and Tokens ?
1431321743
The Aaron
Pro
API Scripter
The Dread Pirate Roberts said: Can API scripts.... Create Handouts and Charactersheets for NPC's from a Document On My PC ? (preferably a spreadsheet or database) Yes, with the caveat that you would need to: Convert the document into something that could be read by a Javascript, JSON, a Tagged Text format, some understood text format. Write a script that reads the format from step 1 and creates/fills in the handout/charactersheet Archive ^ said Handouts and Charactersheets ? Yes, archive is just a flag on objects that support archiving. It's a simple as obj.set('archived',true); Create Attributes (fill in character sheet fields) and Abilities (Macros and Token Actions) from a Document On My PC ? (preferably a spreadsheet or database) Yes, same process and caveats as the first question. Assign Images from the Web or My PC to the charactersheet Bio Portrait and Tokens ? Sort of. If you put those images in your library, and you code the url to the images in your library in the script, it can create tokens and assign them to character sheet bios. However, that's a bit of a cop out, as it's no different than images from anywhere else, and generally it would be much faster to do it manually. I'd suggest you look at the 5e Shaped NPC importer script and it's discussions to get an idea what is possible and how you might do it. And of course, feel free to ask more questions.