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

Dynamic Lighting question when multiple people play off of the screen

Howdy, I DM a group of friends in person each week and we use Roll20 for just about everything. The easiest way we have found to do this is to have me use my laptop as the DM while all the players utilize my second computer hooked up to a 40" TV. The single player account that is connected to this has control of each character and token, which they take turns moving. This works great for getting everyone to focus and strategize together, but I am wondering if there is a key combination to help each character see their own vision on their turn. I know as the DM, I can use Ctrl + L to limit vision to the selected token, but my players are not able to do this. Any Suggestions?
1424231042
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
Colored auras on the token you can toggle on and off to show the range of each token's vision. You can do it manually or as a mentor you could have an API do it from a chat command or macro.
1424233344
The Aaron
Pro
API Scripter
Example API command to turn on an aura for selected tokens using the TokenMod API Script : !token-mod --set aura1_radius|30 aura1_color|ffff00
1424235600
Gen Kitty
Forum Champion
What i think he's looking for is being able to make it so that Bob-the-Token only sees what Bob can see, not what the whole party can see, but he can't do that because one 'player' is controlling all the party tokens.
1424237659

Edited 1424237786
vÍnce
Pro
Sheet Author
GenKitty said: What i think he's looking for is being able to make it so that Bob-the-Token only sees what Bob can see, not what the whole party can see, but he can't do that because one 'player' is controlling all the party tokens. Is there an API method for temporarily moving the other player's tokens to the gm-layer or changing the "Controlled by" setting? Or toggle "Has Sight" off for the other tokens?
1424241994
The Aaron
Pro
API Scripter
Ah! Good thinking, Vince! turn off sight: !token-mod --off light_hassight or toggle sight: !token-mod --flip light_hassight
1424242227

Edited 1424242277
vÍnce
Pro
Sheet Author
Not the best option, but... use Aaron's tokenMod script, make a macro with !token-mod --flip light_hassight select tokens and blind them temporarily. How about a script that toggles sight for a given list of token_id's(all players) except the selected token. Is this possible?
1424242257
vÍnce
Pro
Sheet Author
sniper, no sniping... :-)
I am having trouble with the script. I put the script in the API, as well as the script the API said it needed to run Tokenmod, and the commands such as "!token-mod --flip light_hassight" don't seem to have any effect.
1424270121
The Aaron
Pro
API Scripter
Did you install the isGM script and then speak in the chat to get the message you've been identified as a GM?
Yes I have done so. Still no response. I am sure this is user error and not a problem with the script, but Idk what I might be doing wrong.
1424279256

Edited 1424279355
vÍnce
Pro
Sheet Author
Robby, after running the macro, does the "Has Sight" toggle on/off for the token? Can you run !token-mod --help to bring up the help menu? If so, do you have dynamic lighting/global/los setup for your map?
1424279433

Edited 1424279500
Are you selecting the token while running this command? Is the token set to represent a character journal entry? Is the journal entry set so that it can be edited and controlled by a specific user that needs to "have sight" enabled?
1424279479

Edited 1424279489
The Aaron
Pro
API Scripter
if you type !token-mod --help , you should get a big printout to chat with instructions. Try that to verify the script is working. If that doesn't work, feel free to PM me a join link and I'll jump in and find out what's going on! =D
Ok, guys I got it working. Thanks for all of the help. Seems to work just as it should.
1424284751
vÍnce
Pro
Sheet Author
BTW, you can select multiple tokens at the same time when using tokenMod.
1424285882
The Aaron
Pro
API Scripter
or specify them with --ids @{target|token_id}
1424286193
The Aaron
Pro
API Scripter
or hardcode the ids in a couple of sets of macros: You can hard code all the ids for your players in the first line, then when you select a token and hit this macro, it will first turn off sight for everyone, then turn it back on for the selected one. !token-mod --off light_hassight --ids -Jadsaasfas1234 -L1234a1234 -1234a23afs -Js1234ad135 !token-mod --on light_hassight !token-mod --on light_hassight --ids -Jadsaasfas1234 -L1234a1234 -1234a23afs -Js1234ad135 And the second macro would have all your ids in it and would turn sight on for everyone. Actually , you could do it in one with this: !token-mod --flip light_hassight --ids -Jadsaasfas1234 -L1234a1234 -1234a23afs -Js1234ad135 !token-mod --on light_hassight First it flips the state of everyone, then turns on the selected one. Hit it the first time, it turns off sight for everyone but back on for the selected. Hit it again, it turns on sight for everyone(and off for the selected) but then turns it on for the selected. =D
1424288019
vÍnce
Pro
Sheet Author
The Aaron said: Actually , you could do it in one with this: !token-mod --flip light_hassight --ids -Jadsaasfas1234 -L1234a1234 -1234a23afs -Js1234ad135 !token-mod --on light_hassight First it flips the state of everyone, then turns on the selected one. Hit it the first time, it turns off sight for everyone but back on for the selected. Hit it again, it turns on sight for everyone(and off for the selected) but then turns it on for the selected. =D Genius. I knew Aaron had something for this. :-)
1424288389
The Aaron
Pro
API Scripter
yeah.. unfortunately, I just realized that would only work on one specific page, as the token ids are specific to the token on a page. =/ Sounds like I need to get that alternate selector syntax written and rolled out...
1424288466
The Aaron
Pro
API Scripter
You can still do it with one macro, but you'll have to run it twice, once with everyone selected, and once with only the one person selected (or just once with everyone else selected) !token-mod --flip light_hassight Just not as magical as it could be..
1424288770
vÍnce
Pro
Sheet Author
Depending on how many maps/pages you have, the other option is still doable (and magical).
1424288791
The Aaron
Pro
API Scripter
heheeheh, I suppose that's true...
Awesome. That will make things easier. Is there a way to select multiple tokens other than click+drag to highlight? I tried Ctrl+Click and that did not work.
Shift+Click will allow you to multi-select.
1424290782
vÍnce
Pro
Sheet Author
Robby G. said: Awesome. That will make things easier. Is there a way to select multiple tokens other than click+drag to highlight? I tried Ctrl+Click and that did not work. I wish. I think you have to either click+drag (selection box) or use click+shift-click (selection box) Selection of players when mixed enemy tokens could be pain...
Alright I can work with this. Thanks again for all the help. This will make my games much better for my group.
1424298164
The Aaron
Pro
API Scripter
From the player side, ctrl/cmd-A should work since they can only select themselves.
1424339013
Ziechael
Forum Champion
Sheet Author
API Scripter
Kevin said: Shift+Click will allow you to multi-select. You wouldn't believe how long it took me to figure that one out (admittedly it was a case of looking at the keyboard shortcuts page but it took me a long time to get around to doing that and making do with drag-click hell!) So yes, Shift+Click will be your new best friend coupled with Aaron's script :)