diag setLightNew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "\| *gr([0-9]) *= *Diagnosis * " to "|gr$1= Diagnostic ")
Line 7: Line 7:
|gr1 = Lights
|gr1 = Lights


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

Revision as of 00:09, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
LightsDiagnostic

Syntax

Syntax:
Syntax needed
Parameters:
config: String - Config in string form
Return Value:
Return value needed

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