---
name: "diag_lightNewLoad"
type: command
status: ok
groups: ["Lights", "Diagnostic"]
arma3_since: "1.82"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/diag_lightNewLoad
revid: 309216
updated: 2022-05-03T22:41:30Z
---

# diag_lightNewLoad

*Command · Lights, Diagnostic · Arma 3 v1.82*

## Description

Allows loading of lighting config during the gameplay (effectively changing the current scene lighting).
Filename path can be either absolute or relative. The file must contain only the class LightingNew, which should contain lighting configuration.

## Syntax

```sqf
diag_lightNewLoad path
```

**Parameters:**

- `path`: [String](../topics/String.md) - the path to the config filename

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
diag_lightNewLoad "o:\lighting.txt";
```

## See also

[diag_setLightNew](../commands/diag_setLightNew.md)

<sub>Source: [BI Community Wiki — diag lightNewLoad](https://community.bistudio.com/wiki/diag_lightNewLoad) (revision 309216).</sub>
