diag setLightNew: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
Line 9: Line 9:


| 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.
{{warning|Command is only available when using [[Arma 3 Diagnostics Exe|Arma 3 Diagnostics Exe]] on Dev-Branch.}}|DESCRIPTION=
{{Warning | Command is only available when using [[Arma 3 Diagnostics Exe|Arma 3 Diagnostics Exe]] on Dev-Branch.}}|DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''diag_setLightNew''' config |SYNTAX=
| [[diag_setLightNew]] config |SYNTAX=


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


| [[diag_lightNewLoad]] |SEEALSO=
| [[diag_lightNewLoad]] |SEEALSO=
}}
}}


Line 33: Line 32:


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Lights]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 01:23, 20 July 2020


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

Notes

Bottom Section