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 + 32
October 21 (10 years ago)
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.
October 21 (10 years ago)
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...
October 21 (10 years ago)
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 >.>

October 21 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Indeed. I wish I had more votes for spending on just API things.. =D
June 06 (4 years ago)

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.

June 07 (4 years ago)
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.

June 07 (4 years ago)

Edited June 07 (4 years ago)

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.


June 08 (4 years ago)
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?