SetLightColor
Sets the light color for rooms.
Syntax
SetLightColor rooms color intensity? transition_duration?
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
rooms | Yes | RoomName enum, FacilityZone enum, reference to Room, or 'all' for every room | |
color | Yes | Color in format RRGGBB or RRGGBBAA. | |
intensity | No | A number bigger or equal 0% | Default: 100% |
transition duration | No | Duration in format #ms, #s, #m, #h (e.g. 5s or 2m) | the amount of time in which the lights will fade to the new color |
Validated examples using this method
On a running server
Use serhelp SetLightColor to inspect the reference generated by your installed SER version.