diag lightNewLoad: Difference between revisions

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


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


|1.82|Game version=
|gr1= Lights


|gr1= Diagnosis |GROUP1=
|gr2= Diagnostic
____________________________________________________________________________________________


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


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


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


| [[Nothing]] |RETURNVALUE=
|r1= [[Nothing]]
____________________________________________________________________________________________
 
|x1= <code>[[diag_lightNewLoad]] "o:\lighting.txt"</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[diag_setLightNew]] |SEEALSO=
|x1= <sqf>diag_lightNewLoad "o:\lighting.txt";</sqf>
 
|seealso= [[diag_setLightNew]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[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