diag setLightNew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Bottom Section</h3>" to "")
m (Text replacement - " <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to " ")
Line 22: Line 22:
| [[diag_lightNewLoad]]
| [[diag_lightNewLoad]]
}}
}}
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>

Revision as of 22:46, 22 January 2021


-wrong parameter ("arma3Diag") defined!-[[:Category:Introduced with arma3Diag version 1.82|1.82]]
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:
LightsDiagnosis

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

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