Hi!

I am looking for a way to find out how good visibility AI (and player) have in "current ciscumstances". What I want to do is reveal (script command "Reveal") player group to all enemy units within visual distance, but that distance is a variable distance, depending on current ligth/darkness and weather conditions. Is there an easy way to do that through some fancy script command, or do I have to test all possible conditions (different time of days, fog and rain) to se how good visibility there is?