It would be better to check for a cell-type change instead of a raw cell change. Else the script might detect the cell change before YAH does and thus not work properly.
Agreed. I can work on that right now.
would this affect any lighting outside? i have been on the gold coast lately, and after screeneffects loads, i know since it tells me in the corner, the shading and whatnot gets adjusted. everything looks good, but after i finished up a ruin for an OOO quest, i was heading back to Anvil, and when i entered the cell right above Anvil, the effects seem to disappear and go back to vanilla. has this happened to anyone? is this a screeneffects question? :shrug:
Other than the toggleable forest effect, it shouldn't affect exterior lighting. You may have been in a YAH-designated foresty-area, then as you got closer to Anvil the amount of trees diminished...? The area around Anvil, unless you're playing with Anvil Bay Expansion, and the Gold Cost in general doesn't have many trees, though. It's more rocky and such.
So if you weren't in a forest-y area it may be a ScreenEffects issue. Do you use any of the SE presets?