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 .
×

Lighting for Active Combatant only

1596628209

Edited 1596628286
Our party uses a mix of online and in-person sessions, and the in-person sessions are done with me rejoining the session as a player with control over each of the PCs. This works fine except for that everyone at the table sees the combined field of vision of every PC. Which isn't a major problem during normal gameplay, but does make combat difficult when you're trying to determine what the player without darkvision can and can't see, or whether someone can see around a wall. There was a thread here  that had the same issue and a script that only displayed the field of view for the active character in the turn order, but the fix doesn't work with the new lighting system. Just wondering is there an easy fix that I'm missing? I have no experience scripting, it might be that the script  just needs some minor tweaking? Any help would be greatly appreciated!
1596630869
The Aaron
Roll20 Production Team
API Scripter
You can use Observer for this:&nbsp; <a href="https://app.roll20.net/forum/post/4742980/script-update-observer-visibility-manager-for-your-streaming-camera-player-or-control-management-for-your-in-person-games" rel="nofollow">https://app.roll20.net/forum/post/4742980/script-update-observer-visibility-manager-for-your-streaming-camera-player-or-control-management-for-your-in-person-games</a>
It seems I can! Wow, four years on and you're still on top of it! Thank you for the help!
1596650092
The Aaron
Roll20 Production Team
API Scripter
Hahahahah, yup!&nbsp; I need to update that script with some new niceties, let me know if you run into any issues with it.&nbsp;
I'm having some issues today with it not updating, but I think that may be because I'm using my primary account as the observer? I normally just open Re-Join as Player in a new window and operate both from the one account on the one computer, but the sight doesn't seem to be updating with the turn order. I can ctrl+L on the player account and see that characters actual field of vision (which is nothing bc no darkvision), but nothing otherwise. It's still cycling control of the characters accurately and freeing them all up on npc / monster turns, just not updating the lighting. The console isn't throwing up any errors either, so nothing obvious to point to on that front.
1596717140
The Aaron
Roll20 Production Team
API Scripter
I would suggest creating an account specifically for the Observer player. GM players behave differently than regular players at times, so best to isolate it.&nbsp;
1596748618

Edited 1596749112
While testing the script again, It seems not to change the vision based on the token unless I am doing something wrong. The room has dim light so the Aarakocra can sill see, but when it switches to the dwarf with darkvision they can see the same amount of light and parts of the room. When it goes to a NPC all of the PC tokens light up for party mode and it keeps the Dim light from the room. So I guess the question becomes is it suppose to change with the tokens' vision? [video] Setting Used bellow: The dwarf token set with" Emits light 35 | -5 Has sight: ✔ &nbsp; Multiplayer X2 The Aarakocra token set to&nbsp; Emits light&nbsp; &nbsp;|&nbsp; Has sight: ✔ &nbsp; Multiplayer X1 Initiative Restriction &nbsp;causes the visibility of observers to be restricted to just the Token whose turn it is. On Initiative NPCs &nbsp;allows the observer to see from the perspective of NPCs when it is their turn and Initiative Restriction is on. With this setting off, vision will return to a "whole party" view during NPC turns. Off Initiative Tokens &nbsp;allows the observer to see from the perspective of Tokens with no Character when it is their turn and Initiative Restriction is on. With this setting off, vision will return to a "whole party" view during Characterless Token turns. Off
1596749769
The Aaron
Roll20 Production Team
API Scripter
It works by assigning control of the token to the observer character(s). What ever sight the token has will be the sight of the observer character(s).&nbsp;