SetLightColor
From MaratisWiki
setLightColor(object, color)
Set light color. Accepts two arguments, light object and an RGB table.
-
object: object to operate on -
color: rgb color table
Light = getLight("DayNightLight")
-- Set to red
setLightColor(Light, {255, 0, 0})
-- Set to green
setLightColor(Light, {0, 255, 0})
-- Set to cyan
setLightColor(Light, {0, 255, 255})