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

Subset of Players for Handouts

I have two groups on separate days both using the same campaign (the world and adventure is shared). When one team gets the handout, I have to assign it to each individual instead of using the all player button in order to not spoil the other party.  Is there a way to create a subset of players so that i can assign handouts and introduced characters to just to them? Or even just a folder.  
1618598330
The Aaron
Roll20 Production Team
API Scripter
Not really. 
Not sure it works, but if you create a "group 1" token to which you give acces to all your group 1, i think that if you show the handout to group 1, then all group 1 players should see it, no?
Lionel V. said: Not sure it works, but if you create a "group 1" token to which you give acces to all your group 1, i think that if you show the handout to group 1, then all group 1 players should see it, no? You can't show handouts to tokens.  You can only show handouts to players. :)
Does that mean that it wouldn't work if you had a character named "group 1" controlled by all characters wanted, and show this "character" the handout and thus to all controlling him ? Wouldn't it work a little bit like the "language characters" ? I misused the word token, i meant character. Sorry for that.
1618687983

Edited 1618688028
Andreas J.
Forum Champion
Sheet Author
Translator
Hm, wonder if there is any API that can assign handouts, I'd imagine this could be automated slightly to only require to pick from two macros to run, depending on which set of players you want to assign the handout. It might be possible to have two preset lists of players, which you could then call with some API that can edit handout permissions. The API would probably use this in some form <a href="https://wiki.roll20.net/API:Function_documentation/Roll20_object#set" rel="nofollow">https://wiki.roll20.net/API:Function_documentation/Roll20_object#set</a> <a href="https://wiki.roll20.net/API:Objects#Handout" rel="nofollow">https://wiki.roll20.net/API:Objects#Handout</a>
Lionel V. said: Does that mean that it wouldn't work if you had a character named "group 1" controlled by all characters wanted, and show this "character" the handout and thus to all controlling him ? Wouldn't it work a little bit like the "language characters" ? I misused the word token, i meant character. Sorry for that. It would not work. You can only show handouts to players.&nbsp; This is different than the language trick, because the language character is being sent a message, and each controlling player receives the message.&nbsp; You can verify this by opening up any handout or character sheet in the journal and going to the ‘visible to’ and ‘controlled by’ fields - the only options are players, not characters or handouts.&nbsp;
Andreas J. said: Hm, wonder if there is any API that can assign handouts, I'd imagine this could be automated slightly to only require to pick from two macros to run, depending on which set of players you want to assign the handout. It might be possible to have two preset lists of players, which you could then call with some API that can edit handout permissions. The API would probably use this in some form <a href="https://wiki.roll20.net/API:Function_documentation/Roll20_object#set" rel="nofollow">https://wiki.roll20.net/API:Function_documentation/Roll20_object#set</a> <a href="https://wiki.roll20.net/API:Objects#Handout" rel="nofollow">https://wiki.roll20.net/API:Objects#Handout</a> Assuming that the handout ID is exposed to the API I don’t think it would be difficult. The only issue is letting the API know which &nbsp;handout to update controlling players on. For tokens it’s easy - just click on the token to select its ID. But a handout would need to be named or identified in some way, and also distinguished from other handouts that have similar names. Then the last part that would be needed is a way to select/choose which players are added as controlling the handout, which could be done with preset groups named in the API, or using selected tokens, or hard coded in to the script.&nbsp;