diag lightNewLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3>" to "")
m (Some wiki formatting)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_lightNewLoad}}
{{RV|type=command
{{Command


| arma3Diag
|game1= arma3
|version1= 1.82


|1.82
|gr1= Lights


|gr1 = Lights
|gr2= Diagnostic


|gr2= Diagnosis
|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.


| 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.
|s1= [[diag_lightNewLoad]] path


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


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


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


| [[diag_setLightNew]]
|seealso= [[diag_setLightNew]]
}}
}}
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>

Latest revision as of 00:41, 4 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