diag lightNewLoad: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{DISPLAYTITLE:diag_lightNewLoad}}
{{DISPLAYTITLE:diag_lightNewLoad}}
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3Diag |Game name=
| arma3Diag |Game name=
Line 10: Line 9:


|gr2= Diagnosis |GROUP2=
|gr2= Diagnosis |GROUP2=
____________________________________________________________________________________________


| 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=
| 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=
____________________________________________________________________________________________


| [[diag_lightNewLoad]] path |SYNTAX=
| [[diag_lightNewLoad]] path |SYNTAX=
Line 20: Line 17:


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


| [[diag_setLightNew]] |SEEALSO=
| [[diag_setLightNew]] |SEEALSO=

Revision as of 00:38, 17 January 2021


-wrong parameter ("arma3Diag") defined!-[[:Category:Introduced with arma3Diag version 1.82|1.82]]
Hover & click on the images for description

Description

Description:
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.
Groups:
LightsDiagnosis

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

[[Category:Introduced with arma3Diag version 1.82]][[ Category: arma3Diag: New Scripting Commands | DIAG LIGHTNEWLOAD]][[ Category: arma3Diag: Scripting Commands | DIAG LIGHTNEWLOAD]]

Notes

Bottom Section