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

Can you modify default Token using ChatSetAttr / TokenMod ?

1508534142
GiGs
Pro
Sheet Author
API Scripter
I have about 50 character sheets for monsters, npcs, etc., and realise I made a mistake setting up their default tokens. I need to make a global adjustment to tokenbar settings for defaulttokens (changing the contents of bar1 to bar3, and changing bar visibility), without going through this process: dragging all the tokens onto the map, going through all the tokens, then resetting the default token for each sheet? What would be the quickest way to do this? is there a way to do it without dragging all the tokens onto the map?
1508538119

Edited 1508538522
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I can probably adapt part of PFC to be a snippet to do this for you, gimme an hour or so. May actually be later this weekend
1508580949

Edited 1508583452
GiGs
Pro
Sheet Author
API Scripter
That would be great. What's PFC? There's no urgency, I have a week or so to prepare for my next game. Edit: I found PFC. I dont use Pathfinder, but it does look like the Default Token Manipulation stuff you have in there would make a great system-less standalone script.