{"name":"setLightDayLight","operator":null,"title":"setLightDayLight","type":"command","url":"https://community.bistudio.com/wiki/setLightDayLight","revid":319755,"updated":"2022-05-13T09:24:49Z","groups":["Lights"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma3","name":"Arma 3","version":"0.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":"local","effect":"local","server_exec":false},"exec":null,"description":"Sets if light can be used during the day.","syntaxes":[{"syntax":"light setLightDayLight bool","since":null,"effect":null,"exec":null,"params":[{"name":"light","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"light: Object"},{"name":"bool","type":"Boolean","optional":false,"default":null,"description":null,"types":["Boolean"],"since":null,"text":"bool: Boolean"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"light","types":["Object"]},"right":{"text":"bool","types":["Boolean"]}}],"examples":[{"text":"```sqf\nmyLight setLightDayLight true;\n```","code":["myLight setLightDayLight true;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["setLightAmbient","setLightColor","lightAttachObject","lightDetachObject","setLightIntensity","setLightAttenuation","setLightUseFlare","setLightFlareSize","setLightFlareMaxDistance","setLightBrightness"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Lights","Introduced with Arma 3 version 0.50","Scripting Commands","Scripting Commands: Local Effect"]}