— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Changes the color of the map's ambient light over a duration of time.
set_ambient_light_color(color, duration)
Argument | Description | Type | Required |
---|---|---|---|
color | New color for the ambient light. | Color | Yes |
duration | Fade duration from its current color to the new color. | Decimal | No |
set_ambient_light_color(color[255, 0, 255], 1)
Results: The color of the map's ambient light will change to purple over a duration of one second.
Use the Set Ambient Light Color function to