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

Is it possible to open a Handout by clicking an object on the page (map)

August 14 (8 years ago)
Ajax
Pro
I was wondering if a script exists that would create something like a Map Pin, that could be clicked on by the DM and it would open a handout.
-Ajax
You could do this without API by using the GM notes of a token.

If you put [Handout name] in the GM notes of the token and save, it will put a hyperlink to that handout in it's place. Then when you need quick access to the handout, just open the token and click on the hyperlink.
August 14 (8 years ago)
The Aaron
Pro
API Scripter
You can also use the API send a button to the chat to click on, based on something like moving a token (and snapping it back), then click the button to open the handout.  There isn't a way to have something on the map directly open a handout though.
Another option:
  1. Create a Character Sheet and enter the information there rather than using a handout.
  2. Put a 'pin' token on the map.
  3. Link it to the character sheet.
  4. Shift-double-click the pin to open the character sheet.
Caveat:  From my understanding, having too many of these will slow down load times as Roll20 loads all of the attributes of all characters.  Depending on the character sheet, this could result in thousands of unnecessary attributes.  (Note:  I don't know if it would affect just when you first join the game, or any time you change maps, or what.  So it might not matter that much, but if a player is on a slow connection, it could result in a serious performance hit.)


August 14 (8 years ago)
Ajax
Pro
Is it possible to open a handout from a token action macro?
August 14 (8 years ago)
The Aaron
Pro
API Scripter
No. It's only possible to do it via a link in a handout, character, or the chat.