PDA

View Full Version : LOS not staying on the same layer



ironsplitter
May 23rd, 2021, 16:09
I just started playing with Unity features and was noticing new layers randomly (seemingly) being created when making LOS. It finally occurred to me that this happens when:

1) You are making any LOS occluder in the Image Controller and then switch to play mode in the Image Controller.
2) In play mode, you must move a token around. (It doesn't make a new layer unless you move something).
3) Return to the LOS mode and create any occluder. This will cause the newly created occluder to be on a new, un-named layer.

MassSailor
May 23rd, 2021, 18:07
In step 3, when you return to LOS mode, try selecting the layer you want to add occluders/lights to before adding. I find it creates new layers when one isn’t already selected/highlighted.

Zacchaeus
May 23rd, 2021, 18:21
Indeed. Make sure the layer is selected before you draw LoS; otherwise a new layer will be created.

Pankot
May 23rd, 2021, 19:43
Not sure if this is the same question (in a different way) or not, but can you 'force' a new layer for adding lights? I want to have groups of lights that I can rename and turn off/on but I haven't figured out when/how new lighting layers get created. I've tried switching from play mode back to add lights, but there's not pattern that I can figure out (when new layers are created) - can't recall if I moved tokens or not. Sometimes when I add a new light it creates a new layer, and sometimes it just adds to a preexisting lighting layer

Sulimo
May 23rd, 2021, 19:54
Yes, same, if a layer is selected when adding a light, it will be on that layer, if no layer is selected, it will create a new one.

There was a post somewhere (maybe in the Labratory) where Moon Wizard explained it.

EDIT: found the post (https://www.fantasygrounds.com/forums/showthread.php?68149-Light-Layers-remain-after-deleting-light), it was not Moon Wizard that commented though.

ironsplitter
May 23rd, 2021, 21:54
In step 3, when you return to LOS mode, try selecting the layer you want to add occluders/lights to before adding. I find it creates new layers when one isn’t already selected/highlighted.

Thanks all for the tip. That is indeed what was happening, the layer can become unselected when switching back and forth between Play mode and LOS mode. Not sure of the ramifications, but perhaps the layer selection should remember state when switching between Image Controller modes.