diag setLightNew: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:diag_setLightNew}} | {{DISPLAYTITLE:diag_setLightNew}} | ||
{{Command | {{Command | ||
| arma3Diag | | arma3Diag | ||
|1.82 | |1.82 | ||
|gr1 = Lights | |gr1 = Lights | ||
|gr2= Diagnosis | |gr2= Diagnosis | ||
| 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. | ||
| [[diag_setLightNew]] config | | [[diag_setLightNew]] config | ||
|p1= config: [[String]] - Config in string form | |p1= config: [[String]] - Config in string form | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[diag_setLightNew]] "sunOrMoon = 1; diffuse[] = { 0, 0, 0, 0 }; diffuseCloud[] = { 0, 0, 0, 0 }; ambient[] = { 0, 0, 0, 0 }; ... "</code> | |x1= <code>[[diag_setLightNew]] "sunOrMoon = 1; diffuse[] = { 0, 0, 0, 0 }; diffuseCloud[] = { 0, 0, 0, 0 }; ambient[] = { 0, 0, 0, 0 }; ... "</code> | ||
| [[diag_lightNewLoad]] | | [[diag_lightNewLoad]] | ||
}} | }} | ||
Revision as of 00:29, 18 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]]