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

An on-screen console that has 5 buttons

Hi, Is it possible to create a screen-space object (like a Macro Quickbar button or similar) that can have 5 buttons on it. To be used as "action tokens" which the player will toggle off as they undertake actions, and then there's a "refresh" button that turns them all back on again, ready for the next combat round. I'm kind of picturing a flower, with 5 buttons as petals around the outside, and then a Reset button in the middle.
1747806768

Edited 1747806877
vÍnce
Pro
Sheet Author
I believe this would have to be done on the character sheet itself. Maybe embed the 5 buttons within a popover or modal element that could be hidden when not needed.
1747842468
timmaugh
Forum Champion
API Scripter
Other than vÍnce's suggestion about building it on the character sheet, we're a bit limited in what we can do from the VTT itself or from scripts. Scripts can't modify the DOM, so if you wanted to take that approach you'd have to code it as a browser plug-in. Another option would be to build the interface in a handout that could be moved and/or popped out of the game. You could put the buttons in there, have the interface "re-draw" itself after each button is clicked, and then reset the interface when you click the "Reset" button. Or, if you just wanted the *functionality* of the 5 buttons + a Reset button without necessarily the "flower petal" look you referenced, you might look at the ShowButtons script. You could put abilities on the character sheet like: Name: Action1 Content: Do the thing. (whatever this command needs to do...) !showbutton --hide CharacterName|Action1 Name: Action2 Content: Do the roar. (whatever this command needs to do...) !showbutton --hide CharacterName|Action2 ...etc.... until... Name: ResetActions Content: !showbutton --show CharacterName|Action1 CharacterName|Action2 CharacterName|Action3 CharacterName|Action4 CharacterName|Action5 The downside is that to see the buttons appear/disappear, you have to deselect and reselect the token... but it will work.
These are all great suggestions, thanks.