diag lightNewLoad: Difference between revisions

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


|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.
|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


|p1= path: [[String]] - The path to the config filename
|p1= path: [[String]] - the path to the config filename


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[diag_lightNewLoad]] "o:\lighting.txt"</code>
|x1= <sqf>diag_lightNewLoad "o:\lighting.txt";</sqf>


|seealso= [[diag_setLightNew]]
|seealso= [[diag_setLightNew]]
}}
}}

Latest revision as of 23:41, 3 May 2022

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