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

How to allow players to control a token that is linked to a character sheet they can't edit.

Hey there all, I'm working on adding tokens to my games map that when the players shift double-click them it pulls up a character sheet linked to said token and has information about the location. Because there seems to be no way to link tokens to handouts I'm using character sheets, but I can't figure out how to allow players to interact with the token without giving them editorial rights over the character sheet. I'm more so wanting to do this so it looks neater and they only see the Bio & Info section and not the Character Sheet section, not because I don't trust them not to delete everything.  So, is there any way for me to have a token that anyone can interact with that is linked to a character sheet they don't have access to edit?
1595387085
GiGs
Pro
Sheet Author
API Scripter
Instead of using selected|  you can use target| , that allows players to select a token to carry out commands. Since you're a pro user, there are also various methods of using a token that isnt linked to a character to show handouts or other information. I cant remember the names of the scripts, but I'm sure someone like Keith will be able to offer suggestions.
Here is a simple short cut using Power Cards (this can also be used without Power Cards or even a Pro Subscription). Create an invisible token. Place it over the area you want the player to click, in the bar3|max Paste in your Text and set the Token to All Players Control. Give the players a Macro like this: !power --name|@{target|bar3|max} and name it something like "Explore". When the player finds the clickable object the text you put in bar3|max will appear in the Chat window in the color of their avatar. One click map pin, only thing it does appear in the chat window and not on the map itself.
1595398507

Edited 1595398798
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Please read to the bottom, since I wasn't sure what sort of problem you were trying to solve. If your primary goal is just to get them to be able to see the bio sheet, then "Super easy, barely an inconvenience". Just edit the character so that the "In Players Journals" is set to "All Players": Other players can control the token, but they can get the info by opening the journal in their journal tab. They will only see the Bio and Info page: If you really, really want them to be able to control the token without being able to edit the character, you go down a messy rabbit hole of proxy tokens that represent the character's position, but don't represent the character, with each player having their "real" token elsewhere on the board. I don't recommend this, as it can get messy and confusing. If you want players to be able to select and double click a token to bring up the sheet, they need to have control and editing rights. That's baked in. If you don't trust your players not to mess around, then only an API script would do the job. You would need something that would allow you to open a sheet by invoking a command that would ask you to target a token and open the journal to the limit of your permissions. I can't think of a reason it couldn't be done, but it would be beyond a trivial matter for me. You might be able to convince one of the JavaScript gurus to whip something up. I have a script that can send the bio to chat, but it requires you to be able to control the token. I wouldn't add targeting to it, because the potential for abuse would be too great. However, now that I've written all that, upon reading more closely, it sounds like you are asking about Map Pins. In this case, again, "Super easy, barely an inconvenience". Check out the  Map Pins  post on the  Stupid Tricks  thread. It describes how to do this both with and without the API. For the easiest time of it, I would suggest using the API and my Supernotes script, available in the One Click. The gist of it is, have multiple tokens on the board that represent a single character. In each token, put the info in the GM notes field. Players cannot edit or see that directly. The character associated with the token has a single Token Action Button, that calls the macro that sends the token notes to the chat. {"!pcnote" for Supernotes). You can even include graphics. If you don't want players moving them about, but still want them selectable, use the token lock (map lock?) script, also in the One Click.
1595399042
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Here is a video I made that shows the method in detail.
keithcurtis said: Here is a video I made that shows the method in detail. Awesome thank you very much for all the info! From a cursory glance it looks like Map Pins could be what I'm after! I'll have a more thorough look when I get home from work (if I'm lucky Roll20 will have implemented token linking to handouts by then :P). It's unfortuante there's no way to do this more easily, or without having to send the info to the chat,