You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ben-mkiv edited this page Jun 7, 2021
·
1 revision
OC Lua methods
setColor(integer:color) -- set's the light color, e.g.: you can use 0xFF0000 to make it red) setBrightness(integer:brightness) -- set's the brightness of the light (value range 0-15)getColorString():string-- returns the current color as hexadecimal string, the string can be converted to int with tonumber(value, 16)getBrightness():int-- returns the current brightness value