{"name":"diag_lightNewLoad","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","games":{"arma3":"1.82"},"since":"arma3 1.82","arma3_since":"1.82","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","params":[{"name":"path","type":"String","description":"the path to the config filename","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"unary","right":{"text":"path"}}],"examples":[{"code":["diag_lightNewLoad \"o:\\lighting.txt\";"]}],"see_also":["diag_setLightNew"]}