diag setLightNew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "arma3Diag" to "arma3diag")
(fixed category. Is not only in diag but also in the base game)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3diag
|game1= arma3


|1.82
|version1= 1.82


|gr1 = Lights
|gr1 = Lights
Line 9: Line 9:
|gr2= Diagnostic
|gr2= Diagnostic


| Overrides currently used scene lightning. The operand is config that is placed as a string (not file). The changes may not be applied immediately, but can be forced by the call of simulWeatherSync.
|descr= Overrides currently used scene lightning. The operand is config that is placed as a string (not file). The changes may not be applied immediately, but can be forced by the call of [[simulWeatherSync]].


| [[diag_setLightNew]] config
|s1= [[diag_setLightNew]] config


|p1= config: [[String]] - Config in string form
|p1= config: [[String]] - Config in string form


| [[Nothing]]
|r1= [[Nothing]]
   
   
|x1= <code>[[diag_setLightNew]] "sunOrMoon = 1; diffuse[] = { 0, 0, 0, 0 }; diffuseCloud[] = { 0, 0, 0, 0 }; ambient[] = { 0, 0, 0, 0 }; ... "</code>
|x1= <code>[[diag_setLightNew]] "sunOrMoon = 1; diffuse[] = { 0, 0, 0, 0 }; diffuseCloud[] = { 0, 0, 0, 0 }; ambient[] = { 0, 0, 0, 0 }; ... "</code>

Revision as of 23:56, 28 March 2021

Hover & click on the images for description

Description

Description:
Overrides currently used scene lightning. The operand is config that is placed as a string (not file). The changes may not be applied immediately, but can be forced by the call of simulWeatherSync.
Groups:
LightsDiagnostic

Syntax

Syntax:
diag_setLightNew config
Parameters:
config: String - Config in string form
Return Value:
Nothing

Examples

Example 1:
diag_setLightNew "sunOrMoon = 1; diffuse[] = { 0, 0, 0, 0 }; diffuseCloud[] = { 0, 0, 0, 0 }; ambient[] = { 0, 0, 0, 0 }; ... "

Additional Information

See also:
diag_lightNewLoad

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