diag setLightNew: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:diag_setLightNew}} | {{DISPLAYTITLE:diag_setLightNew}} | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3Diag |Game name= | | arma3Diag |Game name= | ||
Line 10: | Line 9: | ||
|gr2= Diagnosis |GROUP2= | |gr2= Diagnosis |GROUP2= | ||
| 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.|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.|DESCRIPTION= | ||
| [[diag_setLightNew]] config |SYNTAX= | | [[diag_setLightNew]] config |SYNTAX= | ||
Line 20: | Line 17: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>[[diag_setLightNew]] "sunOrMoon = 1; diffuse[] = { 0, 0, 0, 0 }; diffuseCloud[] = { 0, 0, 0, 0 }; ambient[] = { 0, 0, 0, 0 }; ... "</code> |EXAMPLE1= | |x1= <code>[[diag_setLightNew]] "sunOrMoon = 1; diffuse[] = { 0, 0, 0, 0 }; diffuseCloud[] = { 0, 0, 0, 0 }; ambient[] = { 0, 0, 0, 0 }; ... "</code> |EXAMPLE1= | ||
| [[diag_lightNewLoad]] |SEEALSO= | | [[diag_lightNewLoad]] |SEEALSO= |
Revision as of 00:53, 17 January 2021
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]]