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 Functionality to spawn a window with interactive elements.

Score + 34
This is more of a meta-request. I would like to be able to do user interaction in other ways than with the chat system. As a specific example I would like to have the functionality to make a window appear on all the players' screens with a list of items, which they can then take away from that list, with it updating live on the other players' screens. (Ajax maybe?) I realise that there are many parts to this request, and as such you may want to subdivide it in parts.
1413917330
The Aaron
Roll20 Production Team
API Scripter
Sounds very very cool. I think I'm going to need to free up one of my votes...
1413918559
Lithl
Pro
Sheet Author
API Scripter
The Aaron said: Sounds very very cool. I think I'm going to need to free up one of my votes... Ditto. I'm a bit of a sucker for API suggestions, though >.>
1413921763
The Aaron
Roll20 Production Team
API Scripter
Indeed. I wish I had more votes for spending on just API things.. =D
Oh man....  6 years ago this was a request? I get the need to keep some kind of popup hell from polluting roll20 scripts - but this seems like a super-easy thing to implement as far as the api goes.  Is this still not available? Having the one chat box for text output is incredibly limiting.
1623073031
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I mean, you can't trigger the popup, but you can pretty much do this by making an interactive handout via api commands.
1623101672

Edited 1623102596
I've been thinking about this quite a bit with the following features: Powercards / Scriptcards and Roll Query  friendly.   Just indicate where you want your output to go in the script, ChatWindow or Dialog([Window_Name]).  HTML Friendly for display of information and referenced images. At least 2 styles 1.) Information Display (Read Only).  2) Information Update/Add or one that would except input (Text box, check boxes, ...) Option to size the dialog on creation in pixels or percentage of screen Option to name the dialog for future reference Option to select the buttons (OK; Cancel), (OK Only), (Next; Cancel) and others.  Some buttons would have default actions and others could kick off other macros or player sheet abilities.
1623148241
Ulti
Pro
Sheet Author
API Scripter
Scott C. said: I mean, you can't trigger the popup, but you can pretty much do this by making an interactive handout via api commands. Can we display a link in chat to open the interactive handout?