function ... if GetLocalPlayer()==GetTriggerPlayer()then call EnableWeatherEffect(theweather,true) endif ...