i need help again... The following script does not work (compile) for Fallout 4. I tried to get a script that turns on/off lights due to weather conditions. Rainy weather should turn on the lights and no more raining turn off the lights. If someone knows how this script should look like or has an funtioning script that turns lights on/off depending on weather conditions -> very happy!!!!
Scriptname CBJE_LightOnWeather extends ObjectReference
ObjectReference Property MainLight Auto
Event OnTimer(int aiTimerID)
If (Weather.GetCurrentWeather().GetClassification() == 2)