Skip to main content

SetLightColor

Sets the light color for rooms.

Syntax

SetLightColor rooms color intensity? transition_duration?

Arguments

NameRequiredTypeDescription
roomsYesRoomName enum, FacilityZone enum, reference to Room, or 'all' for every room
colorYesColor in format RRGGBB or RRGGBBAA.
intensityNoA number bigger or equal 0%Default: 100%
transition durationNoDuration 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.