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

Macro - Character Sheet Assignment

1647513345

Edited 1647517185
Hi everyone, I have a spell template add-on that automatically adds many typical D&D 5e templates to a campaign for spells and areas of effect. These are set-up as character sheets so they can easily be dragged/dropped on maps for use. Challenge This is great from a DM perspective I am trying to find out if there is any easy way to give control of these templates to "All Players". I know I could do it manually, one template at a time as characters gain access to spells with areas of effects, but as there are so many of them (also in different colours) I am trying to figure out if there is an easy way to do it via a macro. Detail In an ideal world I would like to be able to automate the following: - Set "Can Be Edited and Controlled By" - Set "In Players journals" - to "All Players" - for all of the characters within a nested Journal folder structure If it matters there are a maximum of three nested folders (Top, Colour, Template). As I suspect this may not be possible... a second option might be to: - Select a token representing a character on the map - Set "Can Be Edited and Controlled By" - to "All Players" Does anyone have any idea as to whether this is possible?
1647516446

Edited 1647517146
Small development, have realised I can do the second option using tokenMod with this command: !token-mod --set controlledby|all This changes the linked character sheet which is great. This also works when selecting multiple tokens so I have a pretty good work-around to make the change much more quickly than I feared, although I don't think I can set the "In Player Journals" property which would also be necessary. As always The Aaron is ahead of the game. ----------------------------------------------------------------------- ... of course, if there were a way to automate doing it for all character sheets in a nested folder structure that would be most splendid.