diag lightNewLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Fix lightning → lighting (quit editing the biki, Zeus))
Line 8: Line 8:
|gr2= Diagnostic
|gr2= Diagnostic


|descr= Allows loading of lightning config during the gameplay (effectively changing the current scene lightning). Filename path can be either absolute or relative. The file must contain only the class LightningNew, which should contain lightning configuration.
|descr= 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.


|s1= [[diag_lightNewLoad]] path
|s1= [[diag_lightNewLoad]] path

Revision as of 19:56, 22 June 2021

Hover & click on the images for description

Description

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.
Groups:
LightsDiagnostic

Syntax

Syntax:
diag_lightNewLoad path
Parameters:
path: String - The path to the config filename
Return Value:
Nothing

Examples

Example 1:
diag_lightNewLoad "o:\lighting.txt"

Additional Information

See also:
diag_setLightNew

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note