This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
set_ambient_light_enabled [2018/03/16 09:48] – justin | set_ambient_light_enabled [2020/05/03 15:26] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Enables or disables the map's [[ambient light]]. | + | Enables or disables the [[map|map's]] [[ambient light]]. |
====Signature: | ====Signature: | ||
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |enabled|Determines the [[ambient light]]'s state (on or off).|[[Boolean]]|Yes| | + | |enabled|Determines the [[ambient_light|ambient light' |
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | If you'd like to change the color of the ambient light instead of turning it on or off, see the related [[Set Ambient Light Color]] function. | + | If you'd like to change the [[color]] of the [[ambient light]] instead of turning it on or off, see the related [[Set Ambient Light Color]] function. |
</ | </ | ||
====Example: | ====Example: | ||
- | < | + | < |
set_ambient_light_enabled(false) | set_ambient_light_enabled(false) | ||
</ | </ | ||
Line 23: | Line 23: | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Set Ambient Light Color** function to change the overall mood of a room or to complement another light source' | + | Use the **Set Ambient Light Color** function to change the overall mood of a room or to complement another light source' |
</ | </ | ||