{"name":"diag_lightNewLoad","operator":null,"title":"diag lightNewLoad","type":"command","url":"https://community.bistudio.com/wiki/diag_lightNewLoad","revid":309216,"updated":"2022-05-03T22:41:30Z","groups":["Lights","Diagnostic"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.82"}],"since":{"game":"arma3","name":"Arma 3","version":"1.82"},"arma3_since":"1.82","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Allows loading of lighting config during the gameplay (effectively changing the current scene lighting).\nFilename path can be either absolute or relative. The file must contain only the class LightingNew, which should contain lighting configuration.","syntaxes":[{"syntax":"diag_lightNewLoad path","since":null,"effect":null,"exec":null,"params":[{"name":"path","type":"String","optional":false,"default":null,"description":"the path to the config filename","types":["String"],"since":null,"text":"path: String - the path to the config filename"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"path","types":["String"]}}],"examples":[{"text":"```sqf\ndiag_lightNewLoad \"o:\\lighting.txt\";\n```","code":["diag_lightNewLoad \"o:\\lighting.txt\";"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["diag_setLightNew"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Diagnostic","Command Group: Lights","Introduced with Arma 3 version 1.82","Scripting Commands"]}