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

Link icons to handouts

Is there an existing API to link an icon on the map to a handout so that when you click the icon, the handout displays?  Use would be for things like world maps with icons for specific locations that open to a description of the location.  Landing pages for sessions could have links to party notes, loot, etc.  Dungeons could have icons for loot/puzzles.
There is a suggestion for this if you would like to see this better implemented.&nbsp; <a href="https://app.roll20.net/forum/post/4664065/map-pins-linked-to-handouts" rel="nofollow">https://app.roll20.net/forum/post/4664065/map-pins-linked-to-handouts</a>
Thanks
1537461967
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The closest you can achieve to that currently is using a token as a notes token &nbsp;( API version ), and have it report a Journal link to the chat. That is clickable. It's an extra step, but it does work. Example: [Staff of the Wanderer](<a href="http://journal.roll20.net/handout/-LMkKj1UUYDuT8Jns-KM" rel="nofollow">http://journal.roll20.net/handout/-LMkKj1UUYDuT8Jns-KM</a>) This calls up a magic item handout in my own game. the link appears in chat as&nbsp;Staff of the Wanderer, but it doesn't look like a link unless you hover over it. I would suggest creating a notes token that returns: CLICK HERE&gt;&gt;&gt; [Staff of the Wanderer](<a href="http://journal.roll20.net/handout/-LMkKj1UUYDuT8Jns-KM" rel="nofollow">http://journal.roll20.net/handout/-LMkKj1UUYDuT8Jns-KM</a>) or some other prompt. In the case of the links I used, you would of course, not use an invisible token, and the linked character sheet (just one sheet for all the tokens) would need to be one that the PCs have control over if you want them to click on it. Aaron's TokenLock script can keep the players from moving the token from where you put it.&nbsp;
1537462000

Edited 1537473384
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hmm. That might turn into a Stupid Trick with a little more work. EDIT: And a little work later, and it's done .