Are you saure this isn't just graphics on your pc ? Do they come on if you zoom (right mouse) or use a rifle scope.
There are a couple of hints that can be uncommented that will show that lights are being createdor switched on (if already exists)Code:hint format["(%5) %4 Houses: Create Lightpoint ! Distance %1:%2. Test:%3",_awayx,_awayy,_test,_housecount,_hcount];
Code:hint format["(%5) %4 Houses: Lightpoint (%6) Found ! Distance %1:%2. Test:%3",_awayx,_awayy,_test,_housecount,_hcount,_objLightPoint];
I'm cautiously sure that it is not my graphics settings. Tried with a variety of graphics settings with no effect, but brightness does influence activation range.
I tried using the older code on the first page of this thread, and the problem seems to be reduced, but still apparent. Lights seem to be going off at 200m, but are visible from further away with NVG.