diag lightNewLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DISPLAYTITLE:diag_lightNewLoad}}
{{RV|type=command
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.82


|1.82|Game version=
|gr1= Lights
____________________________________________________________________________________________


| 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.
|gr2= Diagnostic
{{warning|Command is only available when using [[Arma 3 Diagnostics Exe|Arma 3 Diagnostics Exe]] on Dev-Branch.}} |DESCRIPTION=
____________________________________________________________________________________________


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


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


| [[Nothing]] |RETURNVALUE=
|p1= path: [[String]] - the path to the config filename
____________________________________________________________________________________________
 
|x1= <code>[[diag_lightNewLoad]] "o:\lighting.txt"</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[diag_setLightNew]] |SEEALSO=
|r1= [[Nothing]]
}}


<h3 style="display:none">Notes</h3>
|x1= <sqf>diag_lightNewLoad "o:\lighting.txt";</sqf>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[diag_setLightNew]]
[[Category:Command Group: Lights]]
}}

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