diag_setLightNew

From Bohemia Interactive Community
Revision as of 14:20, 18 December 2017 by .kju (talk | contribs) (Added new diag_setLightNew sqf command)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.81|1.81]]
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.
Command is only available when using Arma 3 Diagnostics Exe on Dev-Branch.
Groups:
Uncategorised

Syntax

Syntax:
diag_setLightNew "config_in_string_form"
Parameters:
name: String - "code"
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 arma3dev version 1.81]][[ Category: arma3dev: New Scripting Commands | DIAG SETLIGHTNEW]][[ Category: arma3dev: Scripting Commands | DIAG SETLIGHTNEW]]

Notes

Bottom Section