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

Token interaction for interactive maps

Hi.&nbsp; Just want to preface this by saying I'm not a coder.&nbsp; I'm frustrated by the lack of solid ability to produce interactive maps on Roll20 without either creating characters for each token/map marker or cluttering chat. I'd been researching and mulling over topics and videos and I liked the idea presented here&nbsp; <a href="https://www.youtube.com/watch?v=v4Gp9CzJ_Aw" rel="nofollow">https://www.youtube.com/watch?v=v4Gp9CzJ_Aw</a> , for the most part, but again, chat clutter.&nbsp; I'd like to post my outline for an idea to first see if it's even possible:&nbsp; -Player selects token -player clicks info macro (that's set as token macro)&nbsp; -macro triggers script that: &nbsp; &nbsp;.gets player's ID, &nbsp; &nbsp;.whispers link for info handout to the triggering player using that player ID Thanks,&nbsp; David
1588208450
The Aaron
Roll20 Production Team
API Scripter
It is, but you don't actually need the API for that, or even to give players access to the token in question. You can create a macro like this for each player: /w "The Aaron" [@{target|Look at whom|token_name}](@{target|Look at whom|bar1}) Then just put the Handout URL in bar1, and when they run the macro and target the token, it will whisper them a link to the Handout. The only unfortunate part is there's no way to whisper to "me".
I completely forgot about Look at whom.&nbsp; That will work nicely.&nbsp; Thank you.&nbsp; I guess I was trying to automate the process, but this is a nice work around.&nbsp; Thanks again.
1588223231
The Aaron
Roll20 Production Team
API Scripter
No problem!&nbsp;