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

API that calls a player's macro bar?

1573087255

Edited 1573087268
Our group uses macros from a shared spell-book character for each 'class' in the game, that way they can set their own spells up for our homebrew system and incase any balancing changes come in later on everyone's up to date; but it can get clunky for people who play multiple characters who don't go through resetting their macro bars. Are there any API scripts that call on a player's macro bar set up to make it a bit more easily viewable?
1573089183

Edited 1573089351
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Unfortunately, the API can only read what's in the player's macro bar. It has no way to change it. You can set things as token actions and then people would have access based on which token they have out on the map and have selected.
1573090855
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
That would be sweet though, to swap out macro bar sets.
1573094083
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
What I might suggest though is that you take a look at either my MenuMaker script or GiGs' Universal Chat Menus script. You could use these to create menus to handle a lot of what you have on the macro bar. This would at least lessen the bloat in the bar. The other option is to color code the buttons in the bar so that each character a person might have is a different color.